Closed KingOfPeru closed 9 months ago
@KingOfPeru Added allowScale function to Crop constructor to version 1.0.0-dev.1.
allowScale
Crop
1.0.0-dev.1
Try the snippet below.
const maxScale = 3.0; Crop( allowScale: (newScale) => newScale < maxScale, ),
@KingOfPeru Sorry for confusion, but allowScale is renamed to willUpdateScale from 1.0.0-dev.2 for a versatility reason.
willUpdateScale
1.0.0-dev.2
https://github.com/chooyan-eng/crop_your_image/pull/127
@KingOfPeru Added
allowScale
function toCrop
constructor to version1.0.0-dev.1
.Try the snippet below.