|
@@ -39,6 +39,7 @@
|
|
#include "core/os/input.h"
|
|
#include "core/os/input.h"
|
|
#include "core/os/keyboard.h"
|
|
#include "core/os/keyboard.h"
|
|
#include "core/project_settings.h"
|
|
#include "core/project_settings.h"
|
|
|
|
+#include "editor/editor_scale.h"
|
|
#include "scene/animation/animation_blend_tree.h"
|
|
#include "scene/animation/animation_blend_tree.h"
|
|
#include "scene/animation/animation_player.h"
|
|
#include "scene/animation/animation_player.h"
|
|
#include "scene/gui/menu_button.h"
|
|
#include "scene/gui/menu_button.h"
|
|
@@ -284,7 +285,7 @@ AnimationTreeEditorPlugin::AnimationTreeEditorPlugin(EditorNode *p_node) {
|
|
|
|
|
|
editor = p_node;
|
|
editor = p_node;
|
|
anim_tree_editor = memnew(AnimationTreeEditor);
|
|
anim_tree_editor = memnew(AnimationTreeEditor);
|
|
- anim_tree_editor->set_custom_minimum_size(Size2(0, 300));
|
|
|
|
|
|
+ anim_tree_editor->set_custom_minimum_size(Size2(0, 300) * EDSCALE);
|
|
|
|
|
|
button = editor->add_bottom_panel_item(TTR("AnimationTree"), anim_tree_editor);
|
|
button = editor->add_bottom_panel_item(TTR("AnimationTree"), anim_tree_editor);
|
|
button->hide();
|
|
button->hide();
|