diff options
author | BenH <sketchyfun@gmail.com> | 2017-11-19 14:05:33 +0000 |
---|---|---|
committer | BenH <sketchyfun@gmail.com> | 2017-11-19 14:05:33 +0000 |
commit | 09b7a651b85d8711d89d3934d6d995d9a1b21ad6 (patch) | |
tree | 7cb273be3920e950a4d8108f6582b83eac0d138b | |
parent | 0aa4765904b0aea28ccf485b2428b027a5960df4 (diff) |
Fixed issue with animation keys that are on frame 0 being difficult to click
-rw-r--r-- | editor/animation_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_editor.cpp b/editor/animation_editor.cpp index 1afa1e708a..7d877bdb8c 100644 --- a/editor/animation_editor.cpp +++ b/editor/animation_editor.cpp @@ -2079,7 +2079,7 @@ void AnimationKeyEditor::_track_editor_gui_input(const Ref<InputEvent> &p_input) return; } - if (mpos.x < name_limit) { + if (mpos.x < name_limit - (type_icon[0]->get_width() / 2.0)) { //name column // area |