diff --git a/src/atlasViewer/atlasViewer.pluginService.service.ts b/src/atlasViewer/atlasViewer.pluginService.service.ts index 84f5e30d687124fd8ebc5b457c70929385de1a62..1b2aedcdb5969832c9b7b6fe68ca6e15693bf649 100644 --- a/src/atlasViewer/atlasViewer.pluginService.service.ts +++ b/src/atlasViewer/atlasViewer.pluginService.service.ts @@ -154,7 +154,7 @@ export class PluginServices{ this.launchingPlugins.add(pluginName) } removePluginFromIsLaunchingSet(pluginName:string){ - this.launchedPlugins.delete(pluginName) + this.launchingPlugins.delete(pluginName) } private mapPluginNameToWidgetUnit: Map<string, WidgetUnit> = new Map() diff --git a/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts b/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts index 6bcbf5830c9b45a0fb409a14b64ed05654930e58..f4131f84bc6473b0efec458eb409a5afc5e4ad49 100644 --- a/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts +++ b/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts @@ -269,14 +269,12 @@ export class NehubaViewerUnit implements OnInit, OnDestroy{ const getCondition = (label:number) => `if(label > ${label - 0.1} && label < ${label + 0.1} ){${FRAGMENT_EMIT_RED}}` const newShader = `void main(){ ${labels.map(getCondition).join('else ')}else {${FRAGMENT_EMIT_WHITE}} }` if(!this.nehubaViewer){ - if(!PRODUCTION || window['__debug__']) - console.warn('setting special landmark selection changed failed ... nehubaViewer is not yet defined') + if(!PRODUCTION || window['__debug__']) console.warn('setting special landmark selection changed failed ... nehubaViewer is not yet defined') return } const landmarkLayer = this.nehubaViewer.ngviewer.layerManager.getLayerByName(this.constantService.ngLandmarkLayerName) if(!landmarkLayer){ - if(!PRODUCTION || window['__debug__']) - console.warn('landmark layer could not be found ... will not update colour map') + if(!PRODUCTION || window['__debug__']) console.warn('landmark layer could not be found ... will not update colour map') return } if(labels.length === 0){