mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 14:52:26 +00:00
Don't scale toggle button icons if they're smaller than the button size
This commit is contained in:
parent
0fd26b9dc7
commit
a9116a7ed5
@ -7,10 +7,8 @@
|
||||
|
||||
#define _GUI_ICON SIZE
|
||||
[image]
|
||||
x = 0
|
||||
y = 0
|
||||
w = {SIZE}
|
||||
h = {SIZE}
|
||||
x = "((size / 2) - (image_width / 2) where size = {SIZE})"
|
||||
y = "((size / 2) - (image_height / 2) where size = {SIZE})"
|
||||
name = "(icon)"
|
||||
[/image]
|
||||
#enddef
|
||||
|
Loading…
x
Reference in New Issue
Block a user