File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
packages/element-selection/src Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -328,10 +328,6 @@ export default class CropperSelection extends CropperElement {
328328 }
329329 }
330330
331- protected $handleActionEnd ( ) : void {
332- this . $actionStartTarget = null ;
333- }
334-
335331 protected $handleAction ( event : Event ) : void {
336332 if ( this . multiple && ! this . active ) {
337333 return ;
@@ -422,6 +418,10 @@ export default class CropperSelection extends CropperElement {
422418 }
423419 }
424420
421+ protected $handleActionEnd ( ) : void {
422+ this . $actionStartTarget = null ;
423+ }
424+
425425 protected $handleKeyDown ( event : Event ) : void {
426426 if (
427427 this . hidden
@@ -549,7 +549,10 @@ export default class CropperSelection extends CropperElement {
549549 const hasValidAspectRatio = isPositiveNumber ( aspectRatio ) ;
550550 const { $canvas } = this ;
551551 let {
552- x, y, width, height,
552+ x,
553+ y,
554+ width,
555+ height,
553556 } = this ;
554557
555558 switch ( action ) {
You can’t perform that action at this time.
0 commit comments