mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 04:21:13 +00:00
Shorten text when 2nd thumb is on the right.
This commit is contained in:
parent
de080151cc
commit
299c808e22
@ -2500,6 +2500,7 @@ static int xmb_draw_item(
|
|||||||
unsigned ticker_limit = 35 * scale_mod[0];
|
unsigned ticker_limit = 35 * scale_mod[0];
|
||||||
xmb_node_t * node = (xmb_node_t*)
|
xmb_node_t * node = (xmb_node_t*)
|
||||||
file_list_get_userdata_at_offset(list, i);
|
file_list_get_userdata_at_offset(list, i);
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
if (!node)
|
if (!node)
|
||||||
goto iterate;
|
goto iterate;
|
||||||
@ -2591,7 +2592,12 @@ static int xmb_draw_item(
|
|||||||
(!string_is_equal
|
(!string_is_equal
|
||||||
(thumb_ident,
|
(thumb_ident,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF))
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF))
|
||||||
&& xmb->thumbnail)
|
&& xmb->thumbnail) ||
|
||||||
|
(!string_is_equal
|
||||||
|
(left_thumb_ident,
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF))
|
||||||
|
&& xmb->left_thumbnail
|
||||||
|
&& settings->bools.menu_xmb_vertical_thumbnails)
|
||||||
)
|
)
|
||||||
ticker_limit = 40 * scale_mod[1];
|
ticker_limit = 40 * scale_mod[1];
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user