From 94ad89a5fbee40c9c506cf6fdcb5edff528104e2 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Sun, 22 Sep 2019 23:07:00 -0300 Subject: Fix various problems with tab-related icons --- scene/gui/tab_container.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scene/gui/tab_container.h') diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h index 0314f86837..0c17ebc3ae 100644 --- a/scene/gui/tab_container.h +++ b/scene/gui/tab_container.h @@ -46,7 +46,6 @@ public: }; private: - int mouse_x_cache; int first_tab_cache; int tabs_ofs_cache; int last_tab_cache; @@ -54,6 +53,8 @@ private: int previous; bool tabs_visible; bool buttons_visible_cache; + bool menu_hovered; + int highlight_arrow; TabAlign align; Control *_get_tab(int p_idx) const; int _get_top_margin() const; @@ -65,6 +66,7 @@ private: Vector _get_tabs() const; int _get_tab_width(int p_index) const; void _on_theme_changed(); + void _on_mouse_exited(); void _update_current_tab(); protected: -- cgit v1.2.3