From 2924495299ae4463d4ef242585207edd0e7d1d0c Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Mon, 30 Apr 2018 21:21:19 +1100 Subject: [PATCH] MP Create Game: keep background image width proportional to its height [ci skip] (cherry-picked from commit 604dcd80081b87c16ea7b84eb3e4e5b68d1f4c50) --- data/gui/window/mp_create_game.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gui/window/mp_create_game.cfg b/data/gui/window/mp_create_game.cfg index bca4415b20b..957461b85c1 100644 --- a/data/gui/window/mp_create_game.cfg +++ b/data/gui/window/mp_create_game.cfg @@ -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