Fix Menu Mixer for Color UI (#20566)

This commit is contained in:
Victor Oliveira
2020-12-28 02:11:36 -03:00
committed by GitHub
parent 2ce9fa4b9c
commit 185e31d322
4 changed files with 52 additions and 0 deletions

View File

@ -33,6 +33,10 @@
#include "../../feature/mixing.h"
#if HAS_GRAPHICAL_TFT
#include "../tft/tft.h"
#endif
#define CHANNEL_MIX_EDITING !HAS_DUAL_MIXING
#if ENABLED(GRADIENT_MIX)
@ -67,6 +71,9 @@
mixer.refresh_gradient();
ui.goto_previous_screen();
}
else {
TERN_(HAS_GRAPHICAL_TFT, tft.draw_edit_screen_buttons());
}
}
void lcd_mixer_edit_gradient_menu() {
@ -155,6 +162,8 @@ void lcd_mixer_mix_edit() {
ui.goto_previous_screen();
}
TERN_(HAS_GRAPHICAL_TFT, tft.draw_edit_screen_buttons());
#else
START_MENU();