diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-19 20:11:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-19 20:11:59 +0100 |
commit | e89ec04be864f4e0ae059a94479270967ee9d7fb (patch) | |
tree | cfcf487902f27c8ec71d0489285b6fec02c422a4 /editor/animation_editor.cpp | |
parent | f5e85c61039f8ff17805172c7a417747070bbc98 (diff) | |
parent | 09b7a651b85d8711d89d3934d6d995d9a1b21ad6 (diff) |
Merge pull request #13039 from sketchyfun/animation_key_selection_fix
Fixed issues with clicking animation keys that are on frame 0
Diffstat (limited to 'editor/animation_editor.cpp')
-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 |