bug fixed layers turning off

This commit is contained in:
Luis Fernando Molina committed 2020-03-11 08:54:47 +01:00
1 parent bb4114df8b
commit ec052d2e94
2 files changed
+15 -1

No files matched your search

+3 -1
View File
@@ -163,7 +163,9 @@ function newLayersPanel () {
layer.onLayerStatusChangedEventSuscriptionId = layer.container.eventHandler.listenToEvent('Status Changed', onLayerStatusChanged)
layer.onMouseWheelEventSuscriptionId = layer.container.eventHandler.listenToEvent('onMouseWheel', onMouseWheel)
return layer
layer.checkStatusAtShutDown()
return
}
}
}