1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

Improved theme generation, and other fixes

This commit is contained in:
Daniel J. Ramirez
2017-09-08 01:06:02 -05:00
parent 647a914155
commit 1e8048dd45
7 changed files with 219 additions and 166 deletions

View File

@@ -195,7 +195,7 @@ void WindowDialog::_notification(int p_what) {
RID canvas = get_canvas_item();
// Draw the background.
Ref<StyleBox> panel = get_stylebox("panel", "WindowDialog");
Ref<StyleBox> panel = get_stylebox("panel");
Size2 size = get_size();
panel->draw(canvas, Rect2(0, 0, size.x, size.y));