|
@@ -8641,7 +8641,7 @@ class Color {
|
|
|
setColorName( style ) {
|
|
|
|
|
|
// color keywords
|
|
|
- const hex = _colorKeywords[ style ];
|
|
|
+ const hex = _colorKeywords[ style.toLowerCase() ];
|
|
|
|
|
|
if ( hex !== undefined ) {
|
|
|
|
|
@@ -21952,6 +21952,8 @@ class WebXRController {
|
|
|
targetRay.matrix.fromArray( inputPose.transform.matrix );
|
|
|
targetRay.matrix.decompose( targetRay.position, targetRay.rotation, targetRay.scale );
|
|
|
|
|
|
+ this.dispatchEvent( { type: 'move' } );
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|