diff options
-rw-r--r-- | core/rfb.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rfb.js b/core/rfb.js index a52c00d..04a4040 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -461,12 +461,12 @@ export default class RFB extends EventTargetMixin { Object.keys(stats).forEach((key) => { const s = stats[key]; if (s[0] + s[1] > 0) { - Log.Info(" " + encodingName(key) + ": " + s[0] + " rects"); + Log.Info(" " + encodingName(parseInt(key)) + ": " + s[0] + " rects"); } }); Log.Info("Encoding stats since page load:"); - Object.keys(stats).forEach(key => Log.Info(" " + encodingName(key) + ": " + stats[key][1] + " rects")); + Object.keys(stats).forEach(key => Log.Info(" " + encodingName(parseInt(key)) + ": " + stats[key][1] + " rects")); } _focusCanvas(event) { |