bug fixes for "default" color

This commit is contained in:
Adrian Mariano
2022-03-20 09:03:18 -04:00
parent 942c15e84d
commit c25d3a3f67
2 changed files with 3 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ module _text(text,size,font,halign,valign,spacing,direction,language,script)
language=language, script=script
);
module _color(color) if (color==undef) children(); else color(color) children();
module _color(color) if (color==undef || color=="default") children(); else color(color) children();
module _cube(size,center) cube(size,center=center);