@xeokit/xeokit-sdk 2.3.0-beta-21 → 2.3.0-beta-22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157275,8 +157275,8 @@ class TouchPanRotateAndDollyHandler {
157275
157275
  // Scaling drag-rotate to canvas boundary
157276
157276
 
157277
157277
  const canvasBoundary = scene.canvas.boundary;
157278
- const canvasWidth = canvasBoundary[2] - canvasBoundary[0];
157279
- const canvasHeight = canvasBoundary[3] - canvasBoundary[1];
157278
+ const canvasWidth = canvasBoundary[0];
157279
+ const canvasHeight = canvasBoundary[1];
157280
157280
 
157281
157281
  const touches = event.touches;
157282
157282
 
@@ -157271,8 +157271,8 @@ class TouchPanRotateAndDollyHandler {
157271
157271
  // Scaling drag-rotate to canvas boundary
157272
157272
 
157273
157273
  const canvasBoundary = scene.canvas.boundary;
157274
- const canvasWidth = canvasBoundary[2] - canvasBoundary[0];
157275
- const canvasHeight = canvasBoundary[3] - canvasBoundary[1];
157274
+ const canvasWidth = canvasBoundary[0];
157275
+ const canvasHeight = canvasBoundary[1];
157276
157276
 
157277
157277
  const touches = event.touches;
157278
157278