ropperBBox.l);
              idx = (edge == 'l') ? 0 : 2;
            } else {
              var dy = e.screenY - startY;
              cropDelta = dy / (g_editorState.cropperBBox.b - g_editorState.cropperBBox.t);
              idx = (edge == 't') ? 1 : 3;
            }
            g_editorState.crop[idx] = Math.max(0, Math.min(1, startCrop[idx] + cropDelta));
            layoutCropper();
          }
        })
        .on('mouseup', function(e) {
          $('.cropper-handle').data('down', false);
        