We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
重现步骤
this.imageCropper.setCutXY(left, top);
期待的行为 增加固定裁剪框参数 fixCropBox
目前解决办法 注释掉image-cropper.js中的_moveStop方法中的居中代码
//停止移动时需要做的操作 _moveStop() { //清空之前的自动居中延迟函数并添加最新的 clearTimeout(this.data.TIME_CUT_CENTER); /* todo 不要居中重置 */ /* this.data.TIME_CUT_CENTER = setTimeout(() => { //动画启动 if (!this.data._cut_animation) { this.setData({ _cut_animation: true }); } this.setCutCenter(); }, 1000) */ //清空之前的背景变化延迟函数并添加最新的 clearTimeout(this.data.TIME_BG); this.data.TIME_BG = setTimeout(() => { if (this.data._flag_bright) { this.setData({ _flag_bright: false }); } }, 2000) }
The text was updated successfully, but these errors were encountered:
遇到同样的问题,也是同样的需求,建议增加参数
Sorry, something went wrong.
No branches or pull requests
重现步骤
this.imageCropper.setCutXY(left, top);
修改裁剪框位置{cut_top,cut_left }期待的行为
增加固定裁剪框参数 fixCropBox
目前解决办法
注释掉image-cropper.js中的_moveStop方法中的居中代码
The text was updated successfully, but these errors were encountered: