Separate internal and API methods for the view
This commit is contained in:
@@ -78,7 +78,7 @@ class DragRotate extends PointerInteraction {
|
||||
Math.atan2(size[1] / 2 - offset[1], offset[0] - size[0] / 2);
|
||||
if (this.lastAngle_ !== undefined) {
|
||||
const delta = theta - this.lastAngle_;
|
||||
view.adjustRotation(-delta);
|
||||
view.adjustRotationInternal(-delta);
|
||||
}
|
||||
this.lastAngle_ = theta;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user