From 3193f808b5366392de94c1a9b144fc6845daeabb Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Fri, 27 Dec 2024 14:48:20 +0100 Subject: [PATCH] Comment different resize functions in rfb.js --- core/rfb.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/rfb.js b/core/rfb.js index e1482c3f4..87fac3c23 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -720,6 +720,7 @@ export default class RFB extends EventTargetMixin { currentHeight == this._expectedClientHeight; } + // Handle browser window resizes _handleResize() { // Don't change anything if the client size is already as expected if (this._clientHasExpectedSize()) { @@ -2872,6 +2873,7 @@ export default class RFB extends EventTargetMixin { this._fbWidth, this._fbHeight); } + // Handle resize-messages from the server _resize(width, height) { this._fbWidth = width; this._fbHeight = height;