File tree Expand file tree Collapse file tree 5 files changed +8
-11
lines changed
Expand file tree Collapse file tree 5 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 2323 </description >
2424 </signal >
2525 </signals >
26- <theme_items >
27- <theme_item name =" panel" data_type =" style" type =" StyleBox" >
28- Default [StyleBox] for the [Popup].
29- </theme_item >
30- </theme_items >
3126</class >
Original file line number Diff line number Diff line change 768768 <theme_item name =" labeled_separator_right" data_type =" style" type =" StyleBox" >
769769 [StyleBox] for the right side of labeled separator. See [method add_separator].
770770 </theme_item >
771+ <theme_item name =" panel" data_type =" style" type =" StyleBox" >
772+ [StyleBox] for the the background panel.
773+ </theme_item >
771774 <theme_item name =" separator" data_type =" style" type =" StyleBox" >
772775 [StyleBox] used for the separators. See [method add_separator].
773776 </theme_item >
Original file line number Diff line number Diff line change 88 </description >
99 <tutorials >
1010 </tutorials >
11+ <theme_items >
12+ <theme_item name =" panel" data_type =" style" type =" StyleBox" >
13+ [StyleBox] for the the background panel.
14+ </theme_item >
15+ </theme_items >
1116</class >
Original file line number Diff line number Diff line change @@ -194,8 +194,6 @@ Rect2i Popup::_popup_adjust_rect() const {
194194
195195void Popup::_bind_methods () {
196196 ADD_SIGNAL (MethodInfo (" popup_hide" ));
197-
198- BIND_THEME_ITEM_CUSTOM (Theme::DATA_TYPE_STYLEBOX, Popup, panel_style, " panel" );
199197}
200198
201199Popup::Popup () {
Original file line number Diff line number Diff line change @@ -43,10 +43,6 @@ class Popup : public Window {
4343 LocalVector<Window *> visible_parents;
4444 bool popped_up = false ;
4545
46- struct ThemeCache {
47- Ref<StyleBox> panel_style;
48- } theme_cache;
49-
5046 void _initialize_visible_parents ();
5147 void _deinitialize_visible_parents ();
5248
You can’t perform that action at this time.
0 commit comments