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

zoom hide #291

Open
good1515 opened this issue Dec 27, 2018 · 0 comments
Open

zoom hide #291

good1515 opened this issue Dec 27, 2018 · 0 comments

Comments

@good1515
Copy link

good1515 commented Dec 27, 2018

Zoom hide
New features I have modified 3 places

file croppic.js

`

  1. line 28
    cropZoomControls:true,

  2. line 407
    if(that.options.cropZoomControls){
    var cropControlZoomIn = '<i class="cropControlZoomIn">';
    var cropControlZoomOut = '<i class="cropControlZoomOut">';
    }else{
    var cropControlZoomIn = '';
    var cropControlZoomOut = '';
    }

  3. line 436
    if(that.options.cropZoomControls){
    that.cropControlZoomIn = that.cropControlsCrop.find('.cropControlZoomIn');
    that.cropControlZoomIn.on('click',function(){ that.zoom(that.options.zoomFactor); });
    }
    if(that.options.cropZoomControls){
    that.cropControlZoomIn = that.cropControlsCrop.find('.cropControlRotateLeft');
    that.cropControlZoomIn.on('click', function() { that.rotate(-that.options.rotateFactor); });
    }

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant