Skip to content

Commit

Permalink
theme: Add optional argument to REPLAY_THEME for the benefit of user-…
Browse files Browse the repository at this point in the history
…defined themes

See #4184
  • Loading branch information
jostephd committed Aug 10, 2019
1 parent ed7d60c commit 08352d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data/themes/_initial.cfg
Expand Up @@ -400,21 +400,23 @@
[/report_countdown]
#enddef
#define REPLAY_THEME FONT_SMALL_SIZE
#arg LEFT_MARGIN
=#endarg
[replay]
[add]
[panel]
id=replay-panel
image=themes/editor/classic/toolbar.png
ref=top-panel
rect="=,+0,+842,+41"
rect="{LEFT_MARGIN},+0,842,+41"
xanchor=left
yanchor=fixed
[/panel]
[/add]
[change]
id=main-map
ref=top-panel
rect="=,+41,+842,768"
rect="{LEFT_MARGIN},+41,842,768"
[/change]
[add]
[action]
Expand Down

0 comments on commit 08352d2

Please sign in to comment.