abouttreesummaryrefslogcommitdiff
path: root/srcs
diff options
context:
space:
mode:
authorJules Aguillon2026-02-08 00:33:52 +0100
committerGitHub2026-02-08 00:33:52 +0100
commit0109f30e220baadcad92ae69a483cc2c546727fc (patch)
treea0b35bcd2762a4bcf41cae23eb58696b2acb724d /srcs
parent77c4a27c4c37b3620defcab94ffd1b2f536c88cb (diff)
downloadunexpected-keyboard-0109f30e220baadcad92ae69a483cc2c546727fc.tar.gz
unexpected-keyboard-0109f30e220baadcad92ae69a483cc2c546727fc.zip
Fix label color when keys are pressed (#1173)
The color of labels on a pressed key that were not the label being activated (eg. the labels on the corners when activating the label in the centre) was not correct.
Diffstat (limited to 'srcs')
-rw-r--r--srcs/juloo.keyboard2/Keyboard2View.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2View.java b/srcs/juloo.keyboard2/Keyboard2View.java
index 068ef67..f0fd879 100644
--- a/srcs/juloo.keyboard2/Keyboard2View.java
+++ b/srcs/juloo.keyboard2/Keyboard2View.java
@@ -417,8 +417,8 @@ public class Keyboard2View extends View
{
if ((flags & Pointers.FLAG_P_LOCKED) != 0)
return _theme.lockedColor;
- return _theme.activatedColor;
}
+ return _theme.activatedColor;
}
if (k.hasFlagsAny(KeyValue.FLAG_SECONDARY | KeyValue.FLAG_GREYED))
{