mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-23 05:34:23 +00:00
whoops forgot these
This commit is contained in:
parent
2adc646911
commit
bc70ca109b
@ -101,10 +101,9 @@ module flat_support() {
|
||||
children();
|
||||
}
|
||||
|
||||
module legend(text, valign="center", halign="center", size=0) {
|
||||
//valign = "top" or "center" or "bottom"
|
||||
//halign = "left" or "center" or "right"
|
||||
$legends = [for(L=[$legends, [[text, halign, valign, size > 0 ? size : $font_size]]], a=L) a];
|
||||
module legend(text, position=[0,0], size=undef) {
|
||||
font_size = size == undef ? $font_size : size;
|
||||
$legends = [for(L=[$legends, [[text, position, font_size]]], a=L) a];
|
||||
children();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user