Browse Source

Fix MKS UI missing font select condition (#21905)

vanilla_fb_2.0.x
Moonglow 4 years ago
committed by Scott Lahteine
parent
commit
b6e1838fa6
  1. 2
      Marlin/src/lcd/extui/mks_ui/draw_ui.cpp

2
Marlin/src/lcd/extui/mks_ui/draw_ui.cpp

@ -374,7 +374,7 @@ void tft_style_init() {
style_sel_text.body.grad_color = LV_COLOR_BACKGROUND;
style_sel_text.text.color = LV_COLOR_YELLOW;
style_sel_text.text.sel_color = LV_COLOR_YELLOW;
style_sel_text.text.font = &gb2312_puhui32;
style_sel_text.text.font = TERN(HAS_SPI_FLASH_FONT, &gb2312_puhui32, LV_FONT_DEFAULT);
style_sel_text.line.width = 0;
style_sel_text.text.letter_space = 0;
style_sel_text.text.line_space = -5;

Loading…
Cancel
Save