summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-08-16 03:04:17 +0900
committerSilc 'Tokage' Renew <61938263+TokageItLab@users.noreply.github.com>2022-09-08 20:02:48 +0900
commit3c7a5fd8ac78cf4f9cab1eba17c5cfce114300cd (patch)
treee7d97a6397405d71d4c347c23e18e7cd9b85b2e8 /editor/editor_node.cpp
parentc6fd311da0d0052bb11237662ec528f9fab1b7dd (diff)
downloadredot-engine-3c7a5fd8ac78cf4f9cab1eba17c5cfce114300cd.tar.gz
bind AfterGUIInput
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index c2820389c6..c11a9d197d 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -7598,8 +7598,8 @@ EditorPlugin::AfterGUIInput EditorPluginList::forward_spatial_gui_input(Camera3D
if (current_after == EditorPlugin::AFTER_GUI_INPUT_STOP) {
after = EditorPlugin::AFTER_GUI_INPUT_STOP;
}
- if (after != EditorPlugin::AFTER_GUI_INPUT_STOP && current_after == EditorPlugin::AFTER_GUI_INPUT_DESELECT) {
- after = EditorPlugin::AFTER_GUI_INPUT_DESELECT;
+ if (after != EditorPlugin::AFTER_GUI_INPUT_STOP && current_after == EditorPlugin::AFTER_GUI_INPUT_CUSTOM) {
+ after = EditorPlugin::AFTER_GUI_INPUT_CUSTOM;
}
}