other key index

This commit is contained in:
Mashy 2019-11-06 16:20:22 +10:00
parent 493aee4df8
commit ec964de5f0

View File

@ -177,7 +177,7 @@ class Vbox extends preact.Component {
}
function availableBtn(v, group, index) {
if (!v) return <button disabled class='empty' key={(group + 1) * index} >&nbsp;</button>;
if (!v) return <button disabled class='empty' key={(group * 10 + index} >&nbsp;</button>;
const selected = vboxSelected[0] === group && vboxSelected[1] === index;
// state not yet set in double click handler