mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-03-23 23:06:37 +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();
|
||||
}
|
||||
|
||||
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…
Add table
Reference in a new issue