Unify text() arguments.
Re-order arguments to match docs and be consistent. Remove valign from CText, as baseline was the default value. Remove an unnecessary space.
This commit is contained in:
parent
92f4d55b3a
commit
f2e0268a6c
@ -471,7 +471,7 @@ module CText(OnOff, Tx, Ty, Font, Size, TxtRadius, Angl, Turn, Content) {
|
||||
rotate([0, 0, i*Angle + 90 + Turn]) {
|
||||
translate([0, TxtRadius, 0]) {
|
||||
linear_extrude(height=FontThick) {
|
||||
text(Content[i], font=Font, size=Size, valign="baseline", halign="center");
|
||||
text(Content[i], size=Size, font=Font, halign="center");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user