Comment different resize functions in rfb.js
This commit is contained in:
parent
e6e03a226f
commit
3193f808b5
|
@ -720,6 +720,7 @@ export default class RFB extends EventTargetMixin {
|
||||||
currentHeight == this._expectedClientHeight;
|
currentHeight == this._expectedClientHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handle browser window resizes
|
||||||
_handleResize() {
|
_handleResize() {
|
||||||
// Don't change anything if the client size is already as expected
|
// Don't change anything if the client size is already as expected
|
||||||
if (this._clientHasExpectedSize()) {
|
if (this._clientHasExpectedSize()) {
|
||||||
|
@ -2872,6 +2873,7 @@ export default class RFB extends EventTargetMixin {
|
||||||
this._fbWidth, this._fbHeight);
|
this._fbWidth, this._fbHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handle resize-messages from the server
|
||||||
_resize(width, height) {
|
_resize(width, height) {
|
||||||
this._fbWidth = width;
|
this._fbWidth = width;
|
||||||
this._fbHeight = height;
|
this._fbHeight = height;
|
||||||
|
|
Loading…
Reference in New Issue