summaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/animation_editor.h')
-rw-r--r--tools/editor/animation_editor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/animation_editor.h b/tools/editor/animation_editor.h
index 0c9b0b5ac6..c4539cd763 100644
--- a/tools/editor/animation_editor.h
+++ b/tools/editor/animation_editor.h
@@ -33,7 +33,7 @@
#include "scene/gui/slider.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/spin_box.h"
-#include "scene/gui/texture_frame.h"
+#include "scene/gui/texture_rect.h"
#include "scene/gui/scroll_bar.h"
#include "scene/gui/tool_button.h"
#include "scene/gui/file_dialog.h"
@@ -177,7 +177,7 @@ class AnimationKeyEditor : public VBoxContainer {
PopupMenu *type_menu;
Control *ec;
- TextureFrame *zoomicon;
+ TextureRect *zoomicon;
HSlider *zoom;
//MenuButton *menu;
SpinBox *length;
@@ -347,7 +347,7 @@ public:
void insert_value_key(const String& p_property, const Variant& p_value, bool p_advance);
void insert_transform_key(Spatial *p_node,const String& p_sub,const Transform& p_xform);
- void show_select_node_warning(bool p_show) { select_anim_warning->set_hidden(!p_show); }
+ void show_select_node_warning(bool p_show) { select_anim_warning->set_visible(p_show); }
AnimationKeyEditor();
~AnimationKeyEditor();
};