Fix maximium portrait height.
Fixes bug #17399, also adds some more debug information.
This commit is contained in:
parent
e552477769
commit
8c069aef70
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
### fi
|
### fi
|
||||||
|
|
||||||
#define __GUI_MAX_HEIGHT
|
#define __GUI_MAX_HEIGHT
|
||||||
(screen_height - {_GUI_HEIGHT_OFFSET})
|
(gamemap_height - 4)
|
||||||
#enddef
|
#enddef
|
||||||
|
|
||||||
# The maximum width of the text
|
# The maximum width of the text
|
||||||
|
@ -67,6 +67,8 @@
|
||||||
([[
|
([[
|
||||||
debug_print('screen_width ', screen_width),
|
debug_print('screen_width ', screen_width),
|
||||||
debug_print('screen_height ', screen_height),
|
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('__GUI_MAX_HEIGHT ', {__GUI_MAX_HEIGHT}),
|
||||||
debug_print('BEST_WIDTH ', {BEST_WIDTH}),
|
debug_print('BEST_WIDTH ', {BEST_WIDTH}),
|
||||||
debug_print('__GUI_BEST_SIZE ', {__GUI_BEST_SIZE})
|
debug_print('__GUI_BEST_SIZE ', {__GUI_BEST_SIZE})
|
||||||
|
|
Loading…
Add table
Reference in a new issue