소스 검색

Fix MKS UI missing font select condition (#21905)

Moonglow 4 년 전
부모
커밋
376f0be5da
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/lcd/extui/mks_ui/draw_ui.cpp

+ 1
- 1
Marlin/src/lcd/extui/mks_ui/draw_ui.cpp 파일 보기

@@ -374,7 +374,7 @@ void tft_style_init() {
374 374
   style_sel_text.body.grad_color  = LV_COLOR_BACKGROUND;
375 375
   style_sel_text.text.color       = LV_COLOR_YELLOW;
376 376
   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);
378 378
   style_sel_text.line.width       = 0;
379 379
   style_sel_text.text.letter_space  = 0;
380 380
   style_sel_text.text.line_space    = -5;

Loading…
취소
저장