aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-05-01 10:44:08 -0300
committerJuan Linietsky2015-05-01 10:44:08 -0300
commit4804462ee06c1b3e2d1b50b857ce8693d3c0936d (patch)
tree5d1d06399c5ce28f27253943f35ef4a11d3ac633 /tools/editor/animation_editor.cpp
parentaf42e244e0c41c92b6eeab379f7ba68869dbd0a9 (diff)
downloadgodot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.tar.gz
godot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.tar.zst
godot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.zip
-Fixes from source code analyzizer, closes #1768
Diffstat (limited to 'tools/editor/animation_editor.cpp')
-rw-r--r--tools/editor/animation_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp
index c60c1d03d..39eec4e69 100644
--- a/tools/editor/animation_editor.cpp
+++ b/tools/editor/animation_editor.cpp
@@ -1375,7 +1375,7 @@ void AnimationKeyEditor::_track_editor_input_event(const InputEvent& p_input) {
if (p_input.is_action("ui_up"))
selected_track--;
if (v_scroll->is_visible() && p_input.is_action("ui_page_up"))
- selected_track=selected_track--;;
+ selected_track--;;
if (selected_track<0)
selected_track=0;