mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-09-13 23:59:49 +00:00
make sideways() transformation
Also make the keytop width changes less dramatic, by centering them around the center of the sides of the keycap. Now instead of choosing the front or back of the keycap and shrinking / expanding the back or front to fit, we shrink / expand both evenly. This actually cleans up the logic too! hooray.
This commit is contained in:
parent
8557d19b02
commit
2172278b72
5 changed files with 2762 additions and 184 deletions
|
@ -18,6 +18,9 @@ module key_shape(size, delta, progress = 0) {
|
|||
sculpted_square_shape(size, delta, progress);
|
||||
} else if ($key_shape_type == "rounded_square") {
|
||||
rounded_square_shape(size, delta, progress);
|
||||
} else if ($key_shape_type == "flat_sided_square") {
|
||||
// rounded_square_shape handles this
|
||||
rounded_square_shape(size, delta, progress);
|
||||
} else if ($key_shape_type == "square") {
|
||||
square_shape(size, delta, progress);
|
||||
} else if ($key_shape_type == "oblong") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue