We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fee23f3 commit 3eeb1abCopy full SHA for 3eeb1ab
src/disp/disp_sc8850.mjs
@@ -431,13 +431,15 @@ let Sc8850Display = class extends RootDisplay {
431
if (scConf.peakHold == 3 && upThis.#lingerPress[i]) {
432
upThis.#lingerPress[i] --;
433
upThis.#lingerExtra[i] = 127;
434
- if (e < upThis.#linger[i]) {
+ if (e != upThis.#linger[i]) {
435
upThis.#linger[i] = e;
436
};
437
438
if (e > upThis.#linger[i]) {
439
- upThis.#linger[i] = e;
440
- upThis.#lingerExtra[i] = 127;
+ if (scConf.peakHold != 3 && upThis.#lingerPress[i]) {
+ upThis.#linger[i] = e;
441
+ upThis.#lingerExtra[i] = 127;
442
+ };
443
} else {
444
let shouldKeep = upThis.#lingerExtra[i] >> 4;
445
if (shouldKeep) {
0 commit comments