aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-04-28 22:46:05 -0300
committerJuan Linietsky2015-04-28 22:46:05 -0300
commitfa83cf3c962f182db9d953ee4af38e8bb6bdb0ef (patch)
tree253ba241a03ead1507b9efe3412b072ff48302e0 /tools/editor/animation_editor.cpp
parent16a73bccd28d313f5eb6d1ca5c4c01aab91633b5 (diff)
downloadgodot-fa83cf3c962f182db9d953ee4af38e8bb6bdb0ef.tar.gz
godot-fa83cf3c962f182db9d953ee4af38e8bb6bdb0ef.tar.zst
godot-fa83cf3c962f182db9d953ee4af38e8bb6bdb0ef.zip
label properly adjusted to size when inserting key, fixes #1607
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 8d666f050..c60c1d03d 100644
--- a/tools/editor/animation_editor.cpp
+++ b/tools/editor/animation_editor.cpp
@@ -2538,7 +2538,7 @@ void AnimationKeyEditor::_query_insert(const InsertData& p_id) {
insert_confirm->set_text("Create "+itos(insert_data.size())+" NEW tracks and insert keys?");
insert_confirm->get_ok()->set_text("Create");
- insert_confirm->popup_centered(Size2(300,100));
+ insert_confirm->popup_centered_minsize();
insert_query=true;
} else {
call_deferred("_insert_delay");