mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 13:35:02 +00:00
Image: center drawn image on available space
This commit is contained in:
parent
3d59b753c9
commit
d2191297c5
@ -24,6 +24,8 @@
|
||||
|
||||
[image]
|
||||
name = "(text)"
|
||||
x = "((width / 2) - (image_width / 2))"
|
||||
y = "((height / 2) - (image_height / 2))"
|
||||
[/image]
|
||||
|
||||
[/draw]
|
||||
|
Loading…
x
Reference in New Issue
Block a user