From c911577eb8f176a34be1a2d987976dfcfd8ef4d7 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Thu, 12 Jun 2025 23:20:45 -0400 Subject: [PATCH] core: graphics: use pressed color for pressed keys The locked label color is a special color that displays when the user holds a modifier key for very long. In !7, this locked color replaced the color for the pressed non-modifier key with no explanation. Revert the change and use the "label_pressed" color for a non-modifier key being pressed. --- src/core/graphics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/graphics.rs b/src/core/graphics.rs index 086f338..b36fd6e 100644 --- a/src/core/graphics.rs +++ b/src/core/graphics.rs @@ -510,7 +510,7 @@ impl Graphics { } if part.presses() != 0 { - return colors.label_locked; + return colors.label_pressed; } if sublabel {