Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set initial width and height of cropper #671

wants to merge 5 commits into
base: master


None yet
2 participants
Copy link

commented May 9, 2019

Closes #556

Improved #570

Added setSize to cropper container. Using setSize in action bar container, when toggle advanced.

Alexey and others added some commits Oct 4, 2018

this.updateSettings({advanced: !advanced});
if (!advanced) {
width: screenWidth * 0.2,

This comment has been minimized.

Copy link

albinekb May 12, 2019


Maybe this should use the same logic as the other stuff to get 4:3 aspect?

This comment has been minimized.

Copy link

masquel May 12, 2019


added height calculation depending from width

@skllcrn skllcrn requested review from karaggeorge and albinekb May 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.