File tree 2 files changed +20
-1
lines changed 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -835,10 +835,19 @@ define(function (require) {
835
835
}
836
836
837
837
if ( e . _type == 'filler' ) {
838
+ _fillerShae . style . x = e . style . x ;
839
+ _fillerShae . style . y = e . style . y ;
838
840
_syncHandleShape ( ) ;
839
841
}
840
842
else {
841
- //e.position = [e.style.x - e.style._x, e.style.y - e.style._y];
843
+ if ( e . id == _startShape . id ) {
844
+ _startShape . style . x = e . style . x ;
845
+ _startShape . style . y = e . style . y ;
846
+ }
847
+ else {
848
+ _endShape . style . x = e . style . x ;
849
+ _endShape . style . y = e . style . y ;
850
+ }
842
851
_syncFillerShape ( e ) ;
843
852
}
844
853
Original file line number Diff line number Diff line change @@ -589,9 +589,19 @@ define(function (require) {
589
589
}
590
590
591
591
if ( e . _type == 'filler' ) {
592
+ _fillerShae . style . x = e . style . x ;
593
+ _fillerShae . style . y = e . style . y ;
592
594
_syncHandleShape ( ) ;
593
595
}
594
596
else {
597
+ if ( e . id == _startShape . id ) {
598
+ _startShape . style . x = e . style . x ;
599
+ _startShape . style . y = e . style . y ;
600
+ }
601
+ else {
602
+ _endShape . style . x = e . style . x ;
603
+ _endShape . style . y = e . style . y ;
604
+ }
595
605
_syncFillerShape ( ) ;
596
606
}
597
607
You can’t perform that action at this time.
0 commit comments