diff --git a/examples/sa_ergo.scad b/examples/sa_ergo.scad index 6739405..c66d59b 100644 --- a/examples/sa_ergo.scad +++ b/examples/sa_ergo.scad @@ -46,7 +46,7 @@ simple_layout(preonic_default_layout) { key(); // this generates separate legends for the keys - /* legend(preonic_default_legends[$row][$column]) legends($inset_legend_depth); */ + /* legend(preonic_default_legends[$row][$column]) legends(); */ } } } diff --git a/src/key.scad b/src/key.scad index bedd248..a35dadc 100644 --- a/src/key.scad +++ b/src/key.scad @@ -327,7 +327,7 @@ module clearance_check() { } } -module legends(depth) { +module legends(depth=0) { if ($front_print_legends) { front_placement() { if (len($legends) > 0) {