@@ -397,8 +397,8 @@ export default {
397397 } ;
398398 } ,
399399
400- stickDown ( stick , ev ) {
401- if ( ! this . isResizable || ! this . active ) {
400+ stickDown ( stick , ev , force = false ) {
401+ if ( ( ! this . isResizable || ! this . active ) && ! force ) {
402402 return ;
403403 }
404404
@@ -444,7 +444,6 @@ export default {
444444 let newBottom = dimensionsBeforeMove . bottom ;
445445 let newLeft = dimensionsBeforeMove . left ;
446446 let newRight = dimensionsBeforeMove . right ;
447-
448447 switch ( currentStick [ 0 ] ) {
449448 case 'b' :
450449 newBottom = dimensionsBeforeMove . bottom + delta . y ;
@@ -793,7 +792,7 @@ export default {
793792 const stick = 'mr' ;
794793 const delta = oldVal - newVal ;
795794
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 ) ;
797796 this . stickMove ( { x : delta , y : 0 } ) ;
798797
799798 this . $nextTick ( ( ) => {
@@ -811,7 +810,7 @@ export default {
811810 const stick = 'bm' ;
812811 const delta = oldVal - newVal ;
813812
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 ) ;
815814 this . stickMove ( { x : 0 , y : delta } ) ;
816815
817816 this . $nextTick ( ( ) => {
0 commit comments