Merge pull request #2913 from Luis-Fernando-Molina/develop

Contribution: Revert Bug Fix of side panels because it disables the workspace panel
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-12-05 14:01:29 -04:00
commit 5e199cfa0b
1 file changed
-7
-7
View File
@@ -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)