Avoid moving the shape by rotation
Change-Id: I67c737b1712c4702d28cafe13942fda2634f8526
This commit is contained in:
parent
4e111d5b60
commit
1fbc05b864
1 changed files with 1 additions and 1 deletions
|
@ -1770,7 +1770,7 @@ L.TileLayer = L.GridLayer.extend({
|
|||
this._graphicMarker.isDragged = true;
|
||||
}
|
||||
else if (e.type === 'rotateend') {
|
||||
var center = this._graphicSelectionTwips.getCenter().add(this._graphicSelectionTwips.min);
|
||||
var center = this._graphicSelectionTwips.getCenter();
|
||||
var param = {
|
||||
TransformRotationDeltaAngle: {
|
||||
type: 'long',
|
||||
|
|
Loading…
Reference in a new issue