Don't scale toggle button icons if they're smaller than the button size
This commit is contained in:
parent
0fd26b9dc7
commit
a9116a7ed5
1 changed files with 2 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue