فهرست منبع

prevent collision with mouse pointer id

Raanan Weber 5 سال پیش
والد
کامیت
bb1a9ac959
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/XR/features/WebXRControllerPointerSelection.ts

+ 1 - 1
src/XR/features/WebXRControllerPointerSelection.ts

@@ -78,7 +78,7 @@ export interface IWebXRControllerPointerSelectionOptions {
  * A module that will enable pointer selection for motion controllers of XR Input Sources
  */
 export class WebXRControllerPointerSelection extends WebXRAbstractFeature {
-    private static _idCounter = 0;
+    private static _idCounter = 200;
 
     private _attachController = (xrController: WebXRInputSource) => {
         if (this._controllers[xrController.uniqueId]) {