aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-ui
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2018-01-27 10:48:19 +0100
committerJulien Gouesse <[email protected]>2018-01-27 10:48:19 +0100
commita3459c947c9b0d24c34c619b2225636e8aaf7ddc (patch)
tree0ed156245a97bd3c7a4e613c10f9eabecc444bf5 /ardor3d-ui
parent5b63208ed69f88b0fc4edf89569839e6e260b7c7 (diff)
parent9e9c406384a5ef51fd777d936932382f8dde0dc4 (diff)
Merges Renanse's commit 9e9c406384a5ef51fd777d936932382f8dde0dc4
Diffstat (limited to 'ardor3d-ui')
-rw-r--r--ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextAreaKeyHandler.java3
-rw-r--r--ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextFieldKeyHandler.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextAreaKeyHandler.java b/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextAreaKeyHandler.java
index ad471f2..98aee91 100644
--- a/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextAreaKeyHandler.java
+++ b/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextAreaKeyHandler.java
@@ -243,6 +243,9 @@ public class DefaultLatinTextAreaKeyHandler implements UIKeyHandler {
_textArea.fireComponentDirty();
return true;
}
+ default:
+ // not special, ignore
+ break;
}
if (_textArea.isEditable()) {
diff --git a/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextFieldKeyHandler.java b/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextFieldKeyHandler.java
index d33ee6a..a8d0a59 100644
--- a/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextFieldKeyHandler.java
+++ b/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/text/DefaultLatinTextFieldKeyHandler.java
@@ -242,6 +242,9 @@ public class DefaultLatinTextFieldKeyHandler implements UIKeyHandler {
_textField.fireComponentDirty();
return true;
}
+ default:
+ // not special, ignore
+ break;
}
if (_textField.isEditable()) {