From c6437101c638d2cdf78a83b0102d34ea23ce1667 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:58:36 -0400 Subject: [PATCH] Remove 1.5x DJUI scale --- src/pc/djui/djui_gfx.c | 1 - src/pc/djui/djui_panel_menu_options.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pc/djui/djui_gfx.c b/src/pc/djui/djui_gfx.c index e8b941e4d..a1471e658 100644 --- a/src/pc/djui/djui_gfx.c +++ b/src/pc/djui/djui_gfx.c @@ -60,7 +60,6 @@ f32 djui_gfx_get_scale(void) { case 1: return 0.5f; case 2: return 0.85f; case 3: return 1.0f; - case 4: return 1.5f; default: return 1.0f; } } diff --git a/src/pc/djui/djui_panel_menu_options.c b/src/pc/djui/djui_panel_menu_options.c index 7d79e0d79..c50f50a83 100644 --- a/src/pc/djui/djui_panel_menu_options.c +++ b/src/pc/djui/djui_panel_menu_options.c @@ -79,8 +79,8 @@ void djui_panel_main_menu_create(struct DjuiBase* caller) { themeChoices[i] = (char*)gDjuiThemes[i]->name; } djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_THEME), themeChoices, DJUI_THEME_MAX, &configDjuiTheme, djui_panel_misc_djui_setting_change); - char* djuiScaleChoices[5] = {DLANG(DJUI_THEMES, AUTO), "x0.5", "x0.85", "x1.0", "x1.5"}; - djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_SCALE), djuiScaleChoices, 5, &configDjuiScale, djui_panel_misc_djui_setting_change); + char* djuiScaleChoices[4] = {DLANG(DJUI_THEMES, AUTO), "x0.5", "x0.85", "x1.0"}; + djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_SCALE), djuiScaleChoices, 4, &configDjuiScale, djui_panel_misc_djui_setting_change); char* djuiFontChoices[2] = {DLANG(DJUI_THEMES, FONT_NORMAL), DLANG(DJUI_THEMES, FONT_ALIASED)}; djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_FONT), djuiFontChoices, 2, &configDjuiThemeFont, djui_panel_misc_djui_setting_change);