mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(GLUI) Always query dpi
This commit is contained in:
parent
eb406c7a91
commit
9b019dbc1e
@ -527,11 +527,7 @@ static void glui_layout(menu_handle_t *menu, glui_handle_t *glui)
|
||||
resolution, so we should be dpi aware to ensure the entries hitboxes are big
|
||||
enough. On desktops, we just care about readability, with every widget size
|
||||
proportional to the display width. */
|
||||
#ifdef RARCH_MOBILE
|
||||
scale_factor = menu_display_get_dpi();
|
||||
#else
|
||||
scale_factor = width / 7.5;
|
||||
#endif
|
||||
|
||||
glui->line_height = scale_factor / 3;
|
||||
glui->margin = scale_factor / 6;
|
||||
|
Loading…
x
Reference in New Issue
Block a user