Djinn theme, allow force redraws (#18558)

This commit is contained in:
Nick Brassel 2022-10-02 00:21:22 +10:00 committed by GitHub
parent 9f0d9b4fbe
commit 059a7fb9b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -89,8 +89,8 @@ void keyboard_post_init_display(void) {
//----------------------------------------------------------
// UI Drawing
void draw_ui_user(void) {
bool hue_redraw = false;
void draw_ui_user(bool force_redraw) {
bool hue_redraw = force_redraw;
static uint16_t last_hue = 0xFFFF;
#if defined(RGB_MATRIX_ENABLE)
uint16_t curr_hue = rgb_matrix_get_hue();