mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 19:03:52 +00:00
Fix maximium portrait height.
Fixes bug #17399, also adds some more debug information.
This commit is contained in:
parent
e552477769
commit
8c069aef70
@ -35,7 +35,7 @@
|
||||
### fi
|
||||
|
||||
#define __GUI_MAX_HEIGHT
|
||||
(screen_height - {_GUI_HEIGHT_OFFSET})
|
||||
(gamemap_height - 4)
|
||||
#enddef
|
||||
|
||||
# The maximum width of the text
|
||||
@ -67,6 +67,8 @@
|
||||
([[
|
||||
debug_print('screen_width ', screen_width),
|
||||
debug_print('screen_height ', screen_height),
|
||||
debug_print('gamemap_width ', gamemap_width),
|
||||
debug_print('gamemap_height ', gamemap_height),
|
||||
debug_print('__GUI_MAX_HEIGHT ', {__GUI_MAX_HEIGHT}),
|
||||
debug_print('BEST_WIDTH ', {BEST_WIDTH}),
|
||||
debug_print('__GUI_BEST_SIZE ', {__GUI_BEST_SIZE})
|
||||
|
Loading…
x
Reference in New Issue
Block a user