You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom ratio that I would like to be set when opening an image (2:1). However, I would also like users to have the option of changing the ratio themselves.
I have tried config.presetFixedRatioType = .alwaysUsingOnePresetFixedRatio(ratio: 2.0), but this doesn't allow the ratio to be changed.
I have also used config.addCustomRatio(byHorizontalWidth: 2, andHorizontalHeight: 1), but I see no way to set the default crop ratio.
Is there something I'm missing, or should this be a feature request? Thank you.
The text was updated successfully, but these errors were encountered:
@roddymunro I released Mantis 1.4.8. Can you check if it can solve this issue?
You can use MantisConfig.presetFixedRatioType = canUseMultiplePresetFixedRatio(defaultRatio: )
I have a custom ratio that I would like to be set when opening an image (2:1). However, I would also like users to have the option of changing the ratio themselves.
I have tried
config.presetFixedRatioType = .alwaysUsingOnePresetFixedRatio(ratio: 2.0)
, but this doesn't allow the ratio to be changed.I have also used
config.addCustomRatio(byHorizontalWidth: 2, andHorizontalHeight: 1)
, but I see no way to set the default crop ratio.Is there something I'm missing, or should this be a feature request? Thank you.
The text was updated successfully, but these errors were encountered: