The dialog now always uses the full map area width.
Baufo discovered if the map is smaller as the available map area the dialogs will use the map width instead of the full area available for the map. Now always use the available width.
This commit is contained in:
parent
582a220bb6
commit
7251e8599b
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
Version 1.6a:
|
||||
* User interface:
|
||||
* Remove a no longer valid assert (bug #13217)
|
||||
* Make sure the dialog always uses the full map area width
|
||||
|
||||
Version 1.6:
|
||||
* Campaigns:
|
||||
|
|
|
@ -149,8 +149,8 @@ void twindow::update_screen_size()
|
|||
|
||||
game_display* display = game_display::get_singleton();
|
||||
if(display) {
|
||||
settings::gamemap_width = display->map_area().w;
|
||||
settings::gamemap_height = display->map_area().h;
|
||||
settings::gamemap_width = display->map_outside_area().w;
|
||||
settings::gamemap_height = display->map_outside_area().h;
|
||||
} else {
|
||||
settings::gamemap_width = settings::screen_width;
|
||||
settings::gamemap_height = settings::screen_height;
|
||||
|
|
Loading…
Add table
Reference in a new issue