We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a3537 commit 92ece68Copy full SHA for 92ece68
src/CameraControls.ts
@@ -1557,7 +1557,7 @@ export class CameraControls extends EventDispatcher {
1557
this._interactiveArea.width = clamp( interactiveArea.width, 0, 1 );
1558
this._interactiveArea.height = clamp( interactiveArea.height, 0, 1 );
1559
this._interactiveArea.x = clamp( interactiveArea.x, 0, 1 - this._interactiveArea.width );
1560
- this._interactiveArea.y = clamp( interactiveArea.x, 0, 1 - this._interactiveArea.height );
+ this._interactiveArea.y = clamp( interactiveArea.y, 0, 1 - this._interactiveArea.height );
1561
1562
}
1563
0 commit comments