Avoid moving the shape by rotation

Change-Id: I67c737b1712c4702d28cafe13942fda2634f8526
This commit is contained in:
Tamás Zolnai 2018-11-22 18:05:26 +01:00 committed by Jan Holesovsky
parent 4e111d5b60
commit 1fbc05b864

View file

@ -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',