Skip to content

Commit b91128e

Browse files
committed
fix(soba/gizmos): use boolean coercion
1 parent 852b776 commit b91128e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libs/soba/gizmos/src/lib/gizmo-helper/gizmo-viewcube.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class FaceCube {
169169
(pointerover)="$any($event).stopPropagation(); hover.set(true)"
170170
(click)="internalOnClick($any($event))"
171171
>
172-
<ngt-mesh-basic-material [transparent]="true" [opacity]="0.6" [color]="color()" [visible]="hover()" />
172+
<ngt-mesh-basic-material transparent [opacity]="0.6" [color]="color()" [visible]="hover()" />
173173
<ngt-box-geometry *args="dimensions()" />
174174
</ngt-mesh>
175175
`,

libs/soba/gizmos/src/lib/pivot-controls/scaling-sphere.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ const scaleMatrix = new THREE.Matrix4();
7777
>
7878
<ngt-sphere-geometry *args="[radius(), 12, 12]" />
7979
<ngt-mesh-basic-material
80-
[transparent]="true"
80+
transparent
8181
[depthTest]="pivotControls.depthTest()"
8282
[color]="color()"
8383
[opacity]="pivotControls.opacity()"
84-
[polygonOffset]="true"
84+
polygonOffset
8585
[polygonOffsetFactor]="-10"
8686
/>
8787
</ngt-mesh>

0 commit comments

Comments
 (0)