Fix text selection while dragging editor splitter

This commit is contained in:
Oliver Hamlet
2016-03-06 12:51:07 +00:00
parent 3ef8d4e5e3
commit c14301a1ff
@@ -253,6 +253,7 @@ loot-editor-close
} else if (evt.detail.state === 'end') {
this.parentNode.host.classList.toggle('resizing', false);
}
window.getSelection().removeAllRanges();
this.parentNode.host.style.height = (parseInt(this.parentNode.host.style.height, 10) - evt.detail.ddy) + 'px';
},