Revert "Give Side Space precedence on mouse click"
This reverts commit bb43bedd1b.
This commit is contained in:
1 parent
9cf78dc536
commit
6eb6d385a4
1 file changed
-7
@@ -910,13 +910,6 @@ function newCanvas() {
|
||||
let spaceInstance = projectInstance.events.onMouseClickMap.get(j)
|
||||
if (spaceInstance === undefined) { continue }
|
||||
|
||||
/* Side Space always gets precedence */
|
||||
if (spaceInstance.definition.name === 'Side Space') {
|
||||
container = spaceInstance.getContainer(point, GET_CONTAINER_PURPOSE.MOUSE_CLICK)
|
||||
container.eventHandler.raiseEvent('onMouseClick', point)
|
||||
return
|
||||
}
|
||||
|
||||
if (spaceInstance.getContainer === undefined) { continue }
|
||||
container = spaceInstance.getContainer(point, GET_CONTAINER_PURPOSE.MOUSE_CLICK)
|
||||
|
||||
|
||||
Reference in new issue
Block a user