diff options
author | Joshua Slack <[email protected]> | 2017-10-18 22:47:37 -0500 |
---|---|---|
committer | Joshua Slack <[email protected]> | 2017-10-18 22:47:37 -0500 |
commit | 661c3a01c249b6d94de898f299b0e20e8d372119 (patch) | |
tree | bf62fe36012cef33449c3b4c1145abeca055ce4d /ardor3d-ui/src/main | |
parent | 3fd632efbe11a65769ccdbbb5c5a61ecaa377f5d (diff) |
Fix bug where you could not click on combobox label to open list
Diffstat (limited to 'ardor3d-ui/src/main')
-rw-r--r-- | ardor3d-ui/src/main/java/com/ardor3d/extension/ui/UIComboBox.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/UIComboBox.java b/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/UIComboBox.java index 88561c2..443b6c8 100644 --- a/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/UIComboBox.java +++ b/ardor3d-ui/src/main/java/com/ardor3d/extension/ui/UIComboBox.java @@ -61,6 +61,11 @@ public class UIComboBox extends UIPanel { _openButton.doClick(); return true; } + + @Override + public boolean mousePressed(final MouseButton button, final InputState state) { + return true; + } }; _valueLabel.setLayoutData(BorderLayoutData.CENTER); add(_valueLabel); |