change wheel

This commit is contained in:
ntr
2019-11-04 22:08:54 +11:00
parent b82dee018a
commit 707b3c6217
2 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -29,6 +29,7 @@ const addState = connect(
}
function sendVboxAccept(group, index) {
document.activeElement.blur();
return ws.sendVboxAccept(instance.id, group, index);
}
@@ -217,7 +218,7 @@ class Vbox extends preact.Component {
const vboxObject = shapes[v] ? shapes[v]() : v;
return (
<label draggable='true'
<label draggable='true'
onDragStart={ev => ev.dataTransfer.setData('text', '')}
onDragEnd={clearVboxSelected}>
<button
@@ -325,7 +326,7 @@ class Vbox extends preact.Component {
const highlighted = combiner.indexOf(i) > -1;
const border = buttons[removeTier(v)] ? buttons[removeTier(v)]() : '';
const classes = `${highlighted ? 'highlight' : border} ${comboHighlight}`;
const invObject = shapes[v] ? shapes[v]() : v;
return (