Skip to content

Commit

Permalink
GUI2/Window: draw background image first instead of last
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Vultraz committed Mar 8, 2018
1 parent e8b0616 commit 75c021e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions data/gui/widget/window_default.cfg
Expand Up @@ -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
Expand All @@ -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]
Expand Down

0 comments on commit 75c021e

Please sign in to comment.