mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
Slow the animation down, looks better :)
This commit is contained in:
Vendored
+4
-4
@@ -1,6 +1,6 @@
|
||||
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
|
||||
-webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-in;
|
||||
-moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-in;
|
||||
-o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-in;
|
||||
transition: transform 0.2s ease-out, opacity 0.2s ease-in;
|
||||
-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
transition: transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
}
|
||||
|
||||
@@ -792,7 +792,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
||||
_enqueue: function (fn) {
|
||||
this._queue.push(fn);
|
||||
if (!this._queueTimeout) {
|
||||
this._queueTimeout = setTimeout(L.bind(this._processQueue, this), 200);
|
||||
this._queueTimeout = setTimeout(L.bind(this._processQueue, this), 300);
|
||||
}
|
||||
},
|
||||
_processQueue: function () {
|
||||
|
||||
Reference in New Issue
Block a user