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 {
41
41
template : `
42
42
<ngt-color *args="['#BFD1E5']" attach="background" />
43
43
44
- <ngt-ambient-light [intensity]="0.5" />
44
+ <ngt-ambient-light>
45
+ <ngt-value rawValue="0.5" attach="intensity" />
46
+ </ngt-ambient-light>
45
47
<ngt-spot-light [intensity]="0.5" [position]="10" [angle]="0.15" [penumbra]="1" />
46
48
<ngt-point-light [intensity]="0.5" [position]="-10" />
47
49
Original file line number Diff line number Diff line change @@ -186,8 +186,6 @@ export class NgtRendererStore {
186
186
}
187
187
188
188
if ( name === SPECIAL_PROPERTIES . VALUE ) {
189
- // TODO the last time we tried this here, this didn't work
190
-
191
189
// coercion
192
190
let maybeCoerced : any = value ;
193
191
if ( maybeCoerced === '' || maybeCoerced === 'true' || maybeCoerced === 'false' ) {
You can’t perform that action at this time.
0 commit comments