Skip to content

Commit b6e1838

Browse files
moonglowthinkyhead
authored andcommitted
Fix MKS UI missing font select condition (#21905)
1 parent 908caba commit b6e1838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ void tft_style_init() {
374374
style_sel_text.body.grad_color = LV_COLOR_BACKGROUND;
375375
style_sel_text.text.color = LV_COLOR_YELLOW;
376376
style_sel_text.text.sel_color = LV_COLOR_YELLOW;
377-
style_sel_text.text.font = &gb2312_puhui32;
377+
style_sel_text.text.font = TERN(HAS_SPI_FLASH_FONT, &gb2312_puhui32, LV_FONT_DEFAULT);
378378
style_sel_text.line.width = 0;
379379
style_sel_text.text.letter_space = 0;
380380
style_sel_text.text.line_space = -5;

0 commit comments

Comments
 (0)