Revert "better hints"
This reverts commit 0f5032becb67a37d5528c2a29af8fd627dd8a5e1.
This commit is contained in:
parent
0f5032becb
commit
f04a7101ee
@ -131,15 +131,13 @@ function Vbox(args) {
|
|||||||
function boundClick(e, i) {
|
function boundClick(e, i) {
|
||||||
if (reclaiming && vbox.bound[i]) sendVboxReclaim(i);
|
if (reclaiming && vbox.bound[i]) sendVboxReclaim(i);
|
||||||
else if (vbox.bound[i]) {
|
else if (vbox.bound[i]) {
|
||||||
boundTimer = null;
|
const insert = ['Red', 'Green', 'Blue'].includes(vbox.bound[i])
|
||||||
if (['Red', 'Green', 'Blue'].includes(vbox.bound[i])) {
|
? combiner.findIndex(j => j === null)
|
||||||
const insert = combiner.findIndex(j => j === null);
|
: 2;
|
||||||
if (insert === 2 || insert === -1) return setCombiner([i, null, combiner[2]]);
|
|
||||||
combiner[insert] = i;
|
|
||||||
} else {
|
|
||||||
combiner[2] = i;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
if (insert === -1) return setCombiner([i, null, null]);
|
||||||
|
combiner[insert] = i;
|
||||||
|
boundTimer = null;
|
||||||
return setCombiner(combiner);
|
return setCombiner(combiner);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user