captureRotationFloor method

void captureRotationFloor()

Record the current zoom as the dial's floor, unless the image is already rotated and sitting at bare coverage — that zoom is the dial's own doing, not the user's.

Implementation

void captureRotationFloor() {
  final t = imageTransform;
  if (t.rotateZ == 0 || t.totalScale > coverageScale(t.totalRotate)) {
    rotationScaleFloor = t.totalScale;
  }
}