UI: fixed overlapped text on macro menu

This commit is contained in:
Silvano Seva 2024-07-12 08:02:17 +02:00
parent 4c240a38be
commit b1a18d0b8e
1 changed files with 2 additions and 3 deletions

View File

@ -1086,12 +1086,11 @@ bool _ui_drawMacroMenu(ui_state_t* ui_state)
#endif // CONFIG_UI_NO_KEYBOARD
gfx_print(layout.line1_pos, layout.top_font, TEXT_ALIGN_LEFT,
yellow_fab413, "1");
gfx_print(layout.line1_pos, layout.top_font, TEXT_ALIGN_LEFT,
color_white, " T-");
uint16_t tone = ctcss_tone[last_state.channel.fm.txTone];
gfx_print(layout.line1_pos, layout.top_font, TEXT_ALIGN_LEFT,
color_white, " %d.%d", (tone / 10), (tone % 10));
color_white, " T- %d.%d", (tone / 10), (tone % 10));
#if defined(CONFIG_UI_NO_KEYBOARD)
if (ui_state->macro_menu_selected == 1)
#endif // CONFIG_UI_NO_KEYBOARD