Skip to content

Commit

Permalink
Fix MKS UI missing font select condition (MarlinFirmware#21905)
Browse files Browse the repository at this point in the history
  • Loading branch information
moonglow committed May 15, 2021
1 parent 874c531 commit 376f0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/mks_ui/draw_ui.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 376f0be

Please sign in to comment.