Update ChartingSpace.js

This commit is contained in:
Luis Fernando Molina committed 2020-10-19 13:14:03 +02:00
1 parent 2f027d1319
commit ff620da89c
1 file changed
+8
@@ -165,11 +165,19 @@ function newSuperalgosChartingSpace() {
}
if (containerFound !== undefined) {
containerFound.space = 'Charting Space'
if (purpose === GET_CONTAINER_PURPOSE.MOUSE_WHEEL && containerFound.isWheelable !== true) {
UI.projects.superalgos.spaces.chartingSpace.viewport.onMouseWheel(event)
return
}
return containerFound
}
if (thisObject.container.frame.isThisPointHere(point, true) === true) {
thisObject.container.space = 'Charting Space'
if (purpose === GET_CONTAINER_PURPOSE.MOUSE_WHEEL && thisObject.container.isWheelable !== true) {
UI.projects.superalgos.spaces.chartingSpace.viewport.onMouseWheel(event)
return
}
return thisObject.container
} else {
return undefined