summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2019-05-03 09:44:46 +0300
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2019-05-03 09:44:46 +0300
commit3d47dad2b181cfe6ff5d21ef0d2e6897c781cef8 (patch)
treec3dfaefda9c3099dc56f33a2f610e2617f7ee5ab /scene
parent46b6fb83efc8e021cf60502d1e42fdd912b020eb (diff)
Remove unused `panelf` and `panelnc` styles
Fixes godotengine/godot-docs#2426
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/default_theme/default_theme.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 79d93113b3..a538970903 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -833,14 +833,6 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("autohide", "HSplitContainer", 1 * scale);
theme->set_constant("autohide", "VSplitContainer", 1 * scale);
- // ReferenceRect
-
- Ref<StyleBoxTexture> ttnc = make_stylebox(full_panel_bg_png, 8, 8, 8, 8);
- ttnc->set_draw_center(false);
-
- theme->set_stylebox("panelnc", "Panel", ttnc);
- theme->set_stylebox("panelf", "Panel", tc_sb);
-
Ref<StyleBoxTexture> sb_pc = make_stylebox(tab_container_bg_png, 4, 4, 4, 4, 7, 7, 7, 7);
theme->set_stylebox("panel", "PanelContainer", sb_pc);