v1.2.0: added functionality for a third binding for each key

This commit is contained in:
Evan Debenham
2022-02-15 14:43:18 -05:00
parent 4fcf108cd3
commit d85fe873cf
25 changed files with 208 additions and 75 deletions

View File

@@ -81,7 +81,7 @@ public class KeyBindings {
} else if (keyCode == Input.Keys.PLUS){
return "+";
} else if (keyCode == Input.Keys.BACKSPACE) {
return "Backspace";
return "Backspc";
} else if (keyCode == Input.Keys.FORWARD_DEL) {
return "Delete";
} else {

View File

@@ -160,7 +160,7 @@ public class Group extends Gizmo {
g.parent.remove( g );
}
if (members.get( 0 ) == null) {
if (!members.isEmpty() && members.get( 0 ) == null) {
members.set( 0, g );
g.parent = this;
return g;