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.
This commit is contained in:
parent
a02f404832
commit
c911577eb8
1 changed files with 1 additions and 1 deletions
|
|
@ -510,7 +510,7 @@ impl<D: Display> Graphics<D> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if part.presses() != 0 {
|
if part.presses() != 0 {
|
||||||
return colors.label_locked;
|
return colors.label_pressed;
|
||||||
}
|
}
|
||||||
|
|
||||||
if sublabel {
|
if sublabel {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue