mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Merge changes from patch branch back to main.
This commit is contained in:
@@ -218,7 +218,7 @@ angular.module('player').factory('playerHeatmapService', [() => {
|
||||
const bucketDuration = duration / NUM_BUCKETS;
|
||||
|
||||
// The rate-limited maximum number of events that any bucket can have,
|
||||
const maxPossibleBucketValue = Math.floor(bucketDuration * maxRate);
|
||||
const maxPossibleBucketValue = Math.max(Math.floor(bucketDuration * maxRate), 1);
|
||||
|
||||
// If the duration is invalid, return the still-empty array
|
||||
if (duration <= 0)
|
||||
|
Reference in New Issue
Block a user