Add toggle for showing/hiding the character in RenderContainerComponent and implement binding to PlayerModelService
This commit is contained in:
+6
-1
@@ -17,8 +17,13 @@
|
||||
<mat-icon>{{ onlyIntersecting ? 'visibility_off' : 'visibility' }}</mat-icon>
|
||||
</button>
|
||||
|
||||
<button mat-mini-fab color="primary" (click)="toggleShowCharacter()"
|
||||
[matTooltip]="showCharacter ? 'Hide character' : 'Show character'">
|
||||
<mat-icon>{{ showCharacter ? 'person' : 'person_off' }}</mat-icon>
|
||||
</button>
|
||||
|
||||
<button mat-mini-fab color="primary" (click)="togglePlaneLock()"
|
||||
[matTooltip]="isPlaneLocked ? 'Unlock Plane' : 'Lock Plane'">
|
||||
[matTooltip]="isPlaneLocked ? 'Unlock plane' : 'Lock plane'">
|
||||
<mat-icon>{{ isPlaneLocked ? 'lock' : 'lock_open' }}</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user