summaryrefslogtreecommitdiff
path: root/scene/gui/nine_patch_rect.cpp
diff options
context:
space:
mode:
authorEric M <itsjusteza@gmail.com>2020-12-07 21:32:00 +1000
committerEric M <itsjusteza@gmail.com>2021-02-18 16:22:51 +0100
commit49714b09635fddb3dbada703017482e732a4b459 (patch)
treeeb3468f199205840a967b895593d5026f5e11b5f /scene/gui/nine_patch_rect.cpp
parent074f53563d6955dfddaf7d7b4b787664af2c29a7 (diff)
Removed hardcoded shortcuts from /scene and converted to input actions
This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
Diffstat (limited to 'scene/gui/nine_patch_rect.cpp')
0 files changed, 0 insertions, 0 deletions