don't set info to colours when combining

This commit is contained in:
Mashy 2019-11-20 16:38:28 +10:00
parent ec8697aba1
commit 9ee1c166f3

View File

@ -195,7 +195,7 @@ class Vbox extends preact.Component {
function onClick(e) {
e.stopPropagation();
setInfo(vbox.free[group][index]);
if (!comboHighlight) setInfo(vbox.free[group][index]);
if (shopSelect.length && shopSelect.some(vs => vs[0] === group && vs[1] === index)) {
return setVboxSelected({ shopSelect: shopSelect.filter(vs => !(vs[0] === group && vs[1] === index)), stashSelect });
}