diff options
Diffstat (limited to 'editor/editor_properties_array_dict.h')
-rw-r--r-- | editor/editor_properties_array_dict.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/editor_properties_array_dict.h b/editor/editor_properties_array_dict.h index b00f85c93c..8b939ab0b0 100644 --- a/editor/editor_properties_array_dict.h +++ b/editor/editor_properties_array_dict.h @@ -113,7 +113,7 @@ class EditorPropertyArray : public EditorProperty { int page_index = 0; int changing_type_index; Button *edit = nullptr; - MarginContainer *container = nullptr; + PanelContainer *container = nullptr; VBoxContainer *property_vbox = nullptr; EditorSpinSlider *size_slider = nullptr; Button *button_add_item = nullptr; @@ -165,6 +165,7 @@ protected: public: void setup(Variant::Type p_array_type, const String &p_hint_string = ""); virtual void update_property() override; + virtual bool is_colored(ColorationMode p_mode) override; EditorPropertyArray(); }; @@ -207,7 +208,7 @@ class EditorPropertyDictionary : public EditorProperty { int page_index = 0; int changing_type_index; Button *edit = nullptr; - MarginContainer *container = nullptr; + PanelContainer *container = nullptr; VBoxContainer *property_vbox = nullptr; PanelContainer *add_panel = nullptr; EditorSpinSlider *size_sliderv = nullptr; @@ -233,6 +234,7 @@ protected: public: void setup(PropertyHint p_hint); virtual void update_property() override; + virtual bool is_colored(ColorationMode p_mode) override; EditorPropertyDictionary(); }; |