mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-03-23 06:46:40 +00:00
whoops forgot these
This commit is contained in:
parent
2adc646911
commit
bc70ca109b
1 changed files with 3 additions and 4 deletions
|
@ -101,10 +101,9 @@ module flat_support() {
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
module legend(text, valign="center", halign="center", size=0) {
|
module legend(text, position=[0,0], size=undef) {
|
||||||
//valign = "top" or "center" or "bottom"
|
font_size = size == undef ? $font_size : size;
|
||||||
//halign = "left" or "center" or "right"
|
$legends = [for(L=[$legends, [[text, position, font_size]]], a=L) a];
|
||||||
$legends = [for(L=[$legends, [[text, halign, valign, size > 0 ? size : $font_size]]], a=L) a];
|
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue