summaryrefslogtreecommitdiff
path: root/keyboards/tzarc/djinn/graphics
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-10-02 00:21:22 +1000
committerGitHub <noreply@github.com>2022-10-01 15:21:22 +0100
commit059a7fb9b033fe1adb8a797e0f3dbc074499020c (patch)
tree440b121bc042f5ac1f9c25e0c7191c426479782c /keyboards/tzarc/djinn/graphics
parent9f0d9b4fbea2da81c82d7dc091aa56d52a7db675 (diff)
Djinn theme, allow force redraws (#18558)
Diffstat (limited to 'keyboards/tzarc/djinn/graphics')
-rw-r--r--keyboards/tzarc/djinn/graphics/theme_djinn_default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/tzarc/djinn/graphics/theme_djinn_default.c b/keyboards/tzarc/djinn/graphics/theme_djinn_default.c
index a4e87bd341..c9863f2285 100644
--- a/keyboards/tzarc/djinn/graphics/theme_djinn_default.c
+++ b/keyboards/tzarc/djinn/graphics/theme_djinn_default.c
@@ -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();