combiner fix

This commit is contained in:
Mashy 2019-11-05 12:04:02 +10:00
parent a2a251904f
commit 4a67cab2b3

View File

@ -329,7 +329,9 @@ class Vbox extends preact.Component {
<label
draggable='true'
onDragStart={ev => ev.dataTransfer.setData('text', '')}
onDragEnd={() => combinerChange([])}>
onDragEnd={() => {
if (combiner.length === 1) combinerChange([]);
}}>
<button
class={classes}
onMouseOver={e => vboxHover(e, v)}