File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
libs/angular-three/src/lib/renderer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ export class Cube {
4141 template : `
4242 <ngt-color *args="['#BFD1E5']" attach="background" />
4343
44- <ngt-ambient-light [intensity]="0.5" />
44+ <ngt-ambient-light>
45+ <ngt-value rawValue="0.5" attach="intensity" />
46+ </ngt-ambient-light>
4547 <ngt-spot-light [intensity]="0.5" [position]="10" [angle]="0.15" [penumbra]="1" />
4648 <ngt-point-light [intensity]="0.5" [position]="-10" />
4749
Original file line number Diff line number Diff line change @@ -186,8 +186,6 @@ export class NgtRendererStore {
186186 }
187187
188188 if ( name === SPECIAL_PROPERTIES . VALUE ) {
189- // TODO the last time we tried this here, this didn't work
190-
191189 // coercion
192190 let maybeCoerced : any = value ;
193191 if ( maybeCoerced === '' || maybeCoerced === 'true' || maybeCoerced === 'false' ) {
You can’t perform that action at this time.
0 commit comments