Closed nikitaBohatyrovExitek closed 1 year ago
@nikitaBohatyrovExitek Just to confirm if what you want is to add a new setting property to enable/disable free crop ratio in Mantis.Config?
it wood be great to enable free crop ratio the same way we select crop ratio through the func CropViewController.didSelectRatio, or make it possible to enable free crop ratio in Mantis.Config on update of CropViewController!)
Hi @nikitaBohatyrovExitek CropViewController.didSelectRatio is designed for fixed ratios so I think you can change some settings in Config to enable/disable free ratio.
There are two ways to disable free crop ratio currently by setting presetFixedRatioType in Config
if using canUseMultiplePresetFixedRatio(defaultRatio: 0), then free ratio is used. (This is actually the current default setting in Mantis.Config)
@nikitaBohatyrovExitek I released Mantis 2.5.0. Please check if it works for your case. Thanks!
Since no response for this issue for a long time, I close this issue for now.
Hello. Thank you very much for the great library. I've been trying to find the way to use free mode of crop view resizing inside Mantis, this option already exists in mantis on load of ViewController, but that would be great to add feature of selection and using such ratio crop mode by choice, thank you in advance, I really appreciate your library, it's amazing!)