mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 03:23:36 +00:00
MP Create Game: keep background image width proportional to its height
[ci skip] (cherry-picked from commit 604dcd80081b87c16ea7b84eb3e4e5b68d1f4c50)
This commit is contained in:
parent
71a4e2b06f
commit
2924495299
@ -1016,7 +1016,7 @@
|
||||
[image]
|
||||
x = "(width - image_width)"
|
||||
y = 0
|
||||
w = "(image_width)"
|
||||
w = "(image_original_width * (height / image_original_height))"
|
||||
h = "(height)"
|
||||
|
||||
# TODO: this should be generated with IPFs once we get a gradient function
|
||||
|
Loading…
x
Reference in New Issue
Block a user