mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-04 08:02:05 +02:00
Update build
This commit is contained in:
Vendored
+2
-2
@@ -317,8 +317,8 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|||||||
_getExpandedVisibleBounds: function () {
|
_getExpandedVisibleBounds: function () {
|
||||||
var map = this._map,
|
var map = this._map,
|
||||||
bounds = map.getPixelBounds(),
|
bounds = map.getPixelBounds(),
|
||||||
width = Math.abs(bounds.max.x - bounds.min.x),
|
width = L.Browser.mobile ? 0 : Math.abs(bounds.max.x - bounds.min.x),
|
||||||
height = Math.abs(bounds.max.y - bounds.min.y),
|
height = L.Browser.mobile ? 0 : Math.abs(bounds.max.y - bounds.min.y),
|
||||||
sw = map.unproject(new L.Point(bounds.min.x - width, bounds.min.y - height)),
|
sw = map.unproject(new L.Point(bounds.min.x - width, bounds.min.y - height)),
|
||||||
ne = map.unproject(new L.Point(bounds.max.x + width, bounds.max.y + height));
|
ne = map.unproject(new L.Point(bounds.max.x + width, bounds.max.y + height));
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user