Skip to content
Snippets Groups Projects
Commit e824863d authored by dsehnal's avatar dsehnal
Browse files

lint

parent 9ff8becd
No related branches found
No related tags found
No related merge requests found
......@@ -251,12 +251,12 @@ export class VolumeStreamingCustomControls extends PluginUIComponent<StateTransf
...detailLevel,
label: 'Dynamic Detail',
defaultValue: (entry.params.view as any).map('camera-target').params.dynamicDetailLevel.defaultValue,
}
};
const selectionDetailLevel = {
...detailLevel,
label: 'Selection Detail',
defaultValue: (entry.params.view as any).map('auto').params.selectionDetailLevel.defaultValue,
}
};
const sampling = b.info.header.sampling[0];
......
......@@ -146,7 +146,7 @@ namespace PluginBehavior {
this.subs.push(cmd.subscribe(this.plugin, action));
}
protected subscribeObservable<T>(o: Observable<T>, action: (v: T) => void): PluginCommand.Subscription {
const sub = o.subscribe(action)
const sub = o.subscribe(action);
this.subs.push(sub);
return {
unsubscribe: () => {
......@@ -156,7 +156,7 @@ namespace PluginBehavior {
sub.unsubscribe();
}
}
}
};
}
dispose(): void {
for (const s of this.subs) s.unsubscribe();
......
......@@ -399,7 +399,7 @@ export namespace VolumeStreaming {
radius *= relativeRadius;
let radiusX, radiusY, radiusZ;
if (boundByBoundarySize) {
let bBoxSize = Vec3.zero();
const bBoxSize = Vec3.zero();
Box3D.size(bBoxSize, this.data.structure.boundary.box);
radiusX = Math.min(radius, 0.5 * bBoxSize[0]);
radiusY = Math.min(radius, 0.5 * bBoxSize[1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment