Skip to content
Snippets Groups Projects
Commit 8e4cfd91 authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: remove unused imports

parent be49e4cc
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@ import { EnumViewerEvt, IViewer, TViewerEvent } from "src/viewerModule/viewer.in
import { TThreeSurferConfig, TThreeSurferMode } from "../types";
import { parseContext } from "../util";
import { retry, flattenRegions } from 'common/util'
import { BehaviorSubject, Observable, Subject } from "rxjs";
import { debounceTime, filter, map, switchMap } from "rxjs/operators";
import { Observable, Subject } from "rxjs";
import { debounceTime, filter, switchMap } from "rxjs/operators";
import { ComponentStore } from "src/viewerModule/componentStore";
import { select, Store } from "@ngrx/store";
import { viewerStateChangeNavigation, viewerStateSetSelectedRegions } from "src/services/state/viewerState/actions";
......@@ -234,9 +234,7 @@ export class ThreeSurferGlueCmp implements IViewer<'threeSurfer'>, OnChanges, Af
const cameraSub = this.cameraEv$.pipe(
filter(v => !!v),
debounceTime(160)
).subscribe(ev => {
const { position } = ev
const { x, y, z } = position
).subscribe(() => {
const THREE = (window as any).ThreeSurfer.THREE
......@@ -251,7 +249,7 @@ export class ThreeSurferGlueCmp implements IViewer<'threeSurfer'>, OnChanges, Af
perspectiveOrientation: q.toArray(),
perspectiveZoom: t.length()
})
} catch (e) {
} catch (_e) {
// LockError, ignore
}
})
......
......@@ -78,7 +78,7 @@ import { ContextMenuService, TContextMenuReg } from "src/contextMenuModule";
}
}),
// in case detailed requests
catchError((err, obs) => of(r[0])),
catchError((_err, _obs) => of(r[0])),
shareReplay(1),
)
})
......
......@@ -5,7 +5,6 @@ import { KgDatasetModule } from "src/atlasComponents/regionalFeatures/bsFeatures
import { QuickTourModule } from "src/ui/quickTour";
import { AngularMaterialModule } from "src/ui/sharedModules/angularMaterial.module";
import { UtilModule } from "src/util";
import { OVERWRITE_SHOW_DATASET_DIALOG_TOKEN } from "src/util/interfaces";
import { ViewerStateBreadCrumb } from "./breadcrumb/breadcrumb.component";
@NgModule({
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment