GUI2/Window: draw background image first instead of last

Originally was going to do this as workaround for the background tiling over the borders,
but I fixed the root cause of that instead. Still, this just makes more sense.
This commit is contained in:
Charles Dang 2017-06-20 06:01:58 +11:00
parent c8f36d2758
commit 8396b535c8

View file

@ -22,6 +22,15 @@
{PRE_COMMIT}
[image]
x = 2
y = 2
w = "(width - 4)"
h = "(height - 4)"
name = "dialogs/{BASE_NAME}-background.png"
resize_mode = "tile"
[/image]
[rectangle]
x = 0
y = 0
@ -42,15 +51,6 @@
border_color = {GUI__BORDER_COLOR_DARK}
[/rectangle]
[image]
x = 2
y = 2
w = "(width - 4)"
h = "(height - 4)"
name = "dialogs/{BASE_NAME}-background.png"
resize_mode = "tile"
[/image]
[/draw]
[/background]