From e7eb588fb641625461368ffc3c429a5cb75efef7 Mon Sep 17 00:00:00 2001 From: Cpod12 Date: Thu, 5 Oct 2023 23:18:40 -0700 Subject: [PATCH] Fixed text in 16:9 for RGUI not scaling properly (#15768) --- menu/drivers/rgui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/drivers/rgui.c b/menu/drivers/rgui.c index 30bf2bdfe2..d1c2ef9736 100644 --- a/menu/drivers/rgui.c +++ b/menu/drivers/rgui.c @@ -6093,7 +6093,7 @@ static bool rgui_set_aspect_ratio( { case RGUI_ASPECT_RATIO_16_9: if (rgui->frame_buf.height == 240) - rgui->frame_buf.width = max_frame_buf_width; + rgui->frame_buf.width = 424; else rgui->frame_buf.width = RGUI_ROUND_FB_WIDTH( (16.0f / 9.0f) * (float)rgui->frame_buf.height); @@ -6102,7 +6102,7 @@ static bool rgui_set_aspect_ratio( case RGUI_ASPECT_RATIO_16_9_CENTRE: if (rgui->frame_buf.height == 240) { - rgui->frame_buf.width = max_frame_buf_width; + rgui->frame_buf.width = 424; base_term_width = 320; } else