mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Slow the animation down, looks better :)
This commit is contained in:
8
dist/MarkerCluster.css
vendored
8
dist/MarkerCluster.css
vendored
@ -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