Remove 1.5x DJUI scale

This commit is contained in:
Agent X 2024-04-03 19:58:36 -04:00
parent ddc46affca
commit c6437101c6
2 changed files with 2 additions and 3 deletions

View file

@ -60,7 +60,6 @@ f32 djui_gfx_get_scale(void) {
case 1: return 0.5f; case 1: return 0.5f;
case 2: return 0.85f; case 2: return 0.85f;
case 3: return 1.0f; case 3: return 1.0f;
case 4: return 1.5f;
default: return 1.0f; default: return 1.0f;
} }
} }

View file

@ -79,8 +79,8 @@ void djui_panel_main_menu_create(struct DjuiBase* caller) {
themeChoices[i] = (char*)gDjuiThemes[i]->name; 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); 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"}; char* djuiScaleChoices[4] = {DLANG(DJUI_THEMES, AUTO), "x0.5", "x0.85", "x1.0"};
djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_SCALE), djuiScaleChoices, 5, &configDjuiScale, djui_panel_misc_djui_setting_change); 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)}; 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); djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_FONT), djuiFontChoices, 2, &configDjuiThemeFont, djui_panel_misc_djui_setting_change);