Skip to content

Commit

Permalink
Small tile controls fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Jan 2, 2024
1 parent 8111f54 commit e6d0fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/controls/TileControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export class TileControls {
pointerTracker.getPreviousCenterPoint( _originalCenterPoint );

const parallelDelta = _centerPoint.distanceTo( _originalCenterPoint );
if ( Math.abs( separateDelta ) > 0 || parallelDelta > 0 ) {
if ( Math.abs( separateDelta ) > 1 || parallelDelta > 1 ) {

if ( Math.abs( separateDelta ) > parallelDelta ) {

Expand Down

0 comments on commit e6d0fd3

Please sign in to comment.