Save expected client size on resize

This commit is contained in:
Sergii Zasenko 2023-08-26 19:52:56 +03:00
parent 295004cabe
commit 88ccc18d00
1 changed files with 1 additions and 0 deletions

View File

@ -724,6 +724,7 @@ export default class RFB extends EventTargetMixin {
window.requestAnimationFrame(() => { window.requestAnimationFrame(() => {
this._updateClip(); this._updateClip();
this._updateScale(); this._updateScale();
this._saveExpectedClientSize();
}); });
if (this._resizeSession) { if (this._resizeSession) {