diff options
| author | Jules Aguillon | 2024-03-11 00:10:12 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-03-11 00:24:25 +0100 |
| commit | b33bcd886532d9af7e9c80175196fbf1b8d27552 (patch) | |
| tree | 4a9148e316fbc131f4573601c2e4faed5f239ba0 /srcs/juloo.keyboard2/Keyboard2View.java | |
| parent | c41a098924eab18ee05a94e41ce6e3b2c1665e7c (diff) | |
| download | unexpected-keyboard-b33bcd886532d9af7e9c80175196fbf1b8d27552.tar.gz unexpected-keyboard-b33bcd886532d9af7e9c80175196fbf1b8d27552.zip | |
refactor: Use internal flags in Pointers
'FLAG_LOCKED' and 'FLAG_FAKE_PTR' are only used within Pointers.
Define new flags in Pointers and remove these from KeyValue. Also allows
to define new flags.
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2View.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2View.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2View.java b/srcs/juloo.keyboard2/Keyboard2View.java index c0ec68f..61a62e9 100644 --- a/srcs/juloo.keyboard2/Keyboard2View.java +++ b/srcs/juloo.keyboard2/Keyboard2View.java @@ -394,7 +394,7 @@ public class Keyboard2View extends View int flags = _pointers.getKeyFlags(k); if (flags != -1) { - if ((flags & KeyValue.FLAG_LOCKED) != 0) + if ((flags & Pointers.FLAG_P_LOCKED) != 0) return _theme.lockedColor; return _theme.activatedColor; } |
