@@ -397,8 +397,8 @@ export default {
397
397
} ;
398
398
} ,
399
399
400
- stickDown ( stick , ev ) {
401
- if ( ! this . isResizable || ! this . active ) {
400
+ stickDown ( stick , ev , force = false ) {
401
+ if ( ( ! this . isResizable || ! this . active ) && ! force ) {
402
402
return ;
403
403
}
404
404
@@ -444,7 +444,6 @@ export default {
444
444
let newBottom = dimensionsBeforeMove . bottom ;
445
445
let newLeft = dimensionsBeforeMove . left ;
446
446
let newRight = dimensionsBeforeMove . right ;
447
-
448
447
switch ( currentStick [ 0 ] ) {
449
448
case 'b' :
450
449
newBottom = dimensionsBeforeMove . bottom + delta . y ;
@@ -793,7 +792,7 @@ export default {
793
792
const stick = 'mr' ;
794
793
const delta = oldVal - newVal ;
795
794
796
- this . stickDown ( stick , { pageX : this . right , pageY : this . top + ( this . height / 2 ) } ) ;
795
+ this . stickDown ( stick , { pageX : this . right , pageY : this . top + ( this . height / 2 ) } , true ) ;
797
796
this . stickMove ( { x : delta , y : 0 } ) ;
798
797
799
798
this . $nextTick ( ( ) => {
@@ -811,7 +810,7 @@ export default {
811
810
const stick = 'bm' ;
812
811
const delta = oldVal - newVal ;
813
812
814
- this . stickDown ( stick , { pageX : this . left + ( this . width / 2 ) , pageY : this . bottom } ) ;
813
+ this . stickDown ( stick , { pageX : this . left + ( this . width / 2 ) , pageY : this . bottom } , true ) ;
815
814
this . stickMove ( { x : 0 , y : delta } ) ;
816
815
817
816
this . $nextTick ( ( ) => {
0 commit comments