|
|
@ -1034,8 +1034,7 @@ pwlib.gui = function (app) {
|
|
|
|
this.canvasResizeEnd = function (ev) {
|
|
|
|
this.canvasResizeEnd = function (ev) {
|
|
|
|
this.resizeHandle.style.visibility = '';
|
|
|
|
this.resizeHandle.style.visibility = '';
|
|
|
|
|
|
|
|
|
|
|
|
app.imageCrop(0, 0, MathRound(ev.width / app.image.canvasScale),
|
|
|
|
app.imageCrop(0, 0, MathRound(ev.width / app.image.canvasScale), MathRound(ev.height / app.image.canvasScale));
|
|
|
|
MathRound(ev.height / app.image.canvasScale));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.timeout_) {
|
|
|
|
if (this.timeout_) {
|
|
|
|
clearTimeout(this.timeout_);
|
|
|
|
clearTimeout(this.timeout_);
|
|
|
|