aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/animation_player_editor_plugin.cpp
diff options
context:
space:
mode:
authorFranklin Sobrinho2016-03-15 15:15:50 -0300
committerRémi Verschelde2016-04-02 22:10:31 +0200
commit41326781d2abc5877436118b5e23a5bc759cce4c (patch)
tree730630139fc51d27f5ab0d2597a175def543c088 /tools/editor/plugins/animation_player_editor_plugin.cpp
parentcacf7d136f6204ab6af83c657a87112267e283db (diff)
downloadgodot-41326781d2abc5877436118b5e23a5bc759cce4c.tar.gz
godot-41326781d2abc5877436118b5e23a5bc759cce4c.tar.zst
godot-41326781d2abc5877436118b5e23a5bc759cce4c.zip
Fix editors panels, of the bottom panel, not resizing in some cases
(cherry picked from commit 4a0f835ece40db45f1705761cd492bd34e8c4630)
Diffstat (limited to 'tools/editor/plugins/animation_player_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/animation_player_editor_plugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/plugins/animation_player_editor_plugin.cpp b/tools/editor/plugins/animation_player_editor_plugin.cpp
index 0b06aab44..67f730f30 100644
--- a/tools/editor/plugins/animation_player_editor_plugin.cpp
+++ b/tools/editor/plugins/animation_player_editor_plugin.cpp
@@ -1500,7 +1500,8 @@ bool AnimationPlayerEditorPlugin::handles(Object *p_object) const {
void AnimationPlayerEditorPlugin::make_visible(bool p_visible) {
if (p_visible) {
- anim_editor->show();
+
+ editor->make_bottom_panel_item_visible(anim_editor);
anim_editor->set_process(true);
anim_editor->ensure_visibility();
// editor->animation_panel_make_visible(true);