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

chore: disable panning in threesurfer

bugfix: context menu in threesurfer
parent 7637e9e7
No related branches found
No related tags found
No related merge requests found
...@@ -468,7 +468,7 @@ export class ThreeSurferGlueCmp implements IViewer<'threeSurfer'>, OnChanges, Af ...@@ -468,7 +468,7 @@ export class ThreeSurferGlueCmp implements IViewer<'threeSurfer'>, OnChanges, Af
this.tsRef = null this.tsRef = null
} }
); );
(window as any).tsRef = this.tsRef this.tsRef.control.enablePan = false
while (this.tsRefInitCb.length > 0) this.tsRefInitCb.pop()(this.tsRef) while (this.tsRefInitCb.length > 0) this.tsRefInitCb.pop()(this.tsRef)
} }
......
...@@ -659,7 +659,7 @@ ...@@ -659,7 +659,7 @@
</ng-container> </ng-container>
<ng-container *ngSwitchCase="'threeSurfer'"> <ng-container *ngSwitchCase="'threeSurfer'">
<mat-list-item> <mat-list-item *ngIf="data?.context?.payload?.faceIndex && data?.context?.payload?.vertexIndices">
<span mat-line> <span mat-line>
face#{{ data.context.payload.faceIndex }} face#{{ data.context.payload.faceIndex }}
</span> </span>
......
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