summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme/unchecked.png
diff options
context:
space:
mode:
authorManuel Lagang <manuellagang@gmail.com>2015-01-17 22:40:01 -0800
committerManuel Lagang <manuellagang@gmail.com>2015-01-17 22:40:01 -0800
commitfa62125e05b30f6a7df482af924aa8e552760f07 (patch)
treeae1c1eff327c2603f690aa19756108e5917dacc5 /scene/resources/default_theme/unchecked.png
parent3e7d475b59e0a25971cfcfd91f37046f534d88fe (diff)
Modifiers are unset on events for the modifier key itself
This patch removes modifiers when processing key events for the particular modifier key. For example, previously a Shift keypress would register as a Shift + Shift modifier event. This would cause issues when a modifier key as the action key in the input map, because unpresses of the modifier key don't match as matching inputs for that action. E.g. if Shift is used as an action, the stored action event is Shift + Shift modifier (as indicated in the editor as "Shift + Shift". The unpress event does not have the Shift modifier set, so the event of unpressing Shift + no modifier doesn't match the action which has the modifier set. This patch removes the shift modifier on just pressing the Shift key down, so the action event is registered as just Shift with no modifier (as indicated in the editor as "Shift"), which matches the unpress event.
Diffstat (limited to 'scene/resources/default_theme/unchecked.png')
0 files changed, 0 insertions, 0 deletions