Selection model added

This commit is contained in:
barsdeveloper
2021-09-29 22:39:41 +02:00
parent ccaad9b677
commit d3ce39ae68
6 changed files with 622 additions and 81 deletions

View File

@@ -36,6 +36,7 @@ export default class UEBlueprintSelect {
if (!self.exitSelectAnyButton || e.button == self.clickButton) {
// Remove the handlers of `mousemove` and `mouseup`
self.blueprintNode.getGridDOMElement().removeEventListener('mousemove', self.mouseMoveHandler)
self.blueprintNode.finishSelecting()
document.removeEventListener('mouseup', self.mouseUpHandler)
}
}