summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-11-08 19:02:47 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-11-08 19:10:16 +0100
commit226044b944bdcb6939810ac7cb11fdf51b2103c4 (patch)
tree56196d112f3dd0da6f217e9320ef24680659b5cc /README.md
parent60e25835a5d19dee9382052549d7f7a6523a6b97 (diff)
Allow canceling Drag and Drop with the Escape-Key
This patch implements the functionality to cancel Drag and Drop by using the escape key or more general, the ui_cancel action. Since this would be the third location, where the finalization of Drag and Drop would have to be implemented, that functionality was put into the private function _perform_drop. Simplified gui.drag_data.get_type() != Variant::NIL to gui.dragging because they are equivalent.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions