Revert "Make the image resize and rotate handles larger in a mobile app"
There is now other code that takes care of it. This reverts commit 3cc714b49b6e29429d45818a281cd77a209dbec2. Change-Id: I9c777e1592d1c5e0fc931307b24e63743cd4da5b Reviewed-on: https://gerrit.libreoffice.org/78279 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/79014
This commit is contained in:
parent
d8aeb28aeb
commit
6c332c8182
2 changed files with 1 additions and 5 deletions
|
@ -14,8 +14,6 @@ L.CircleMarker = L.Path.extend({
|
|||
L.setOptions(this, options);
|
||||
this._latlng = L.latLng(latlng);
|
||||
this._radius = this.options.radius;
|
||||
if (window.ThisIsAMobileApp)
|
||||
this._radius *= 3;
|
||||
},
|
||||
|
||||
setLatLng: function (latlng) {
|
||||
|
@ -30,8 +28,6 @@ L.CircleMarker = L.Path.extend({
|
|||
|
||||
setRadius: function (radius) {
|
||||
this.options.radius = this._radius = radius;
|
||||
if (window.ThisIsAMobileApp)
|
||||
this._radius *= 3;
|
||||
return this.redraw();
|
||||
},
|
||||
|
||||
|
|
|
@ -550,7 +550,7 @@ L.Handler.PathTransform = L.Handler.extend({
|
|||
L.PathTransform.pointOnLine(
|
||||
map.latLngToLayerPoint(bottom),
|
||||
map.latLngToLayerPoint(topPoint),
|
||||
(window.ThisIsAMobileApp ? this.options.handleLength * 3 : this.options.handleLength))
|
||||
this.options.handleLength)
|
||||
);
|
||||
|
||||
this._handleLine = new L.Polyline([topPoint, handlerPosition],
|
||||
|
|
Loading…
Reference in a new issue