mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-05-03 04:34:39 +00:00
fix stem helper functions unhelpfully registering 0 stem slop as false
This commit is contained in:
parent
0d807f3b14
commit
b36bf13b3e
1 changed files with 8 additions and 8 deletions
|
@ -91,26 +91,26 @@ module blank() {
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
module cherry(slop) {
|
module cherry(slop = undef) {
|
||||||
$stem_slop = slop ? slop : $stem_slop;
|
$stem_slop = slop != undef ? slop : $stem_slop;
|
||||||
$stem_type = "cherry";
|
$stem_type = "cherry";
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
module alps(slop) {
|
module alps(slop = undef) {
|
||||||
$stem_slop = slop ? slop : $stem_slop;
|
$stem_slop = slop != undef ? slop : $stem_slop;
|
||||||
$stem_type = "alps";
|
$stem_type = "alps";
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
module rounded_cherry(slop) {
|
module rounded_cherry(slop = undef) {
|
||||||
$stem_slop = slop ? slop : $stem_slop;
|
$stem_slop = slop != undef ? slop : $stem_slop;
|
||||||
$stem_type = "rounded_cherry";
|
$stem_type = "rounded_cherry";
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
|
||||||
module box_cherry(slop) {
|
module box_cherry(slop = undef) {
|
||||||
$stem_slop = slop ? slop : $stem_slop;
|
$stem_slop = slop != undef ? slop : $stem_slop;
|
||||||
$stem_type = "box_cherry";
|
$stem_type = "box_cherry";
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue