zoom hide
Opened this issue · 0 comments
Zoom hide
New features I have modified 3 places
file croppic.js
`
-
line 28
cropZoomControls:true, -
line 407
if(that.options.cropZoomControls){
var cropControlZoomIn = '<i class="cropControlZoomIn">';
var cropControlZoomOut = '<i class="cropControlZoomOut">';
}else{
var cropControlZoomIn = '';
var cropControlZoomOut = '';
} -
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); });
}
`