clampZoom method

void clampZoom()

Implementation

void clampZoom() {
  camera.viewfinder.zoom = camera.viewfinder.zoom
      .clamp(options.scaleRange.x, options.scaleRange.y);
}