UI: fixed overlapped text on macro menu
This commit is contained in:
parent
4c240a38be
commit
b1a18d0b8e
|
|
@ -1086,12 +1086,11 @@ bool _ui_drawMacroMenu(ui_state_t* ui_state)
|
||||||
#endif // CONFIG_UI_NO_KEYBOARD
|
#endif // CONFIG_UI_NO_KEYBOARD
|
||||||
gfx_print(layout.line1_pos, layout.top_font, TEXT_ALIGN_LEFT,
|
gfx_print(layout.line1_pos, layout.top_font, TEXT_ALIGN_LEFT,
|
||||||
yellow_fab413, "1");
|
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];
|
uint16_t tone = ctcss_tone[last_state.channel.fm.txTone];
|
||||||
gfx_print(layout.line1_pos, layout.top_font, TEXT_ALIGN_LEFT,
|
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 defined(CONFIG_UI_NO_KEYBOARD)
|
||||||
if (ui_state->macro_menu_selected == 1)
|
if (ui_state->macro_menu_selected == 1)
|
||||||
#endif // CONFIG_UI_NO_KEYBOARD
|
#endif // CONFIG_UI_NO_KEYBOARD
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue