MCPcopy Create free account
hub / github.com/apache/cloudstack / _updateScale

Method _updateScale

systemvm/agent/noVNC/core/rfb.js:933–941  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

931 }
932
933 _updateScale() {
934 if (!this._scaleViewport) {
935 this._display.scale = 1.0;
936 } else {
937 const size = this._screenSize();
938 this._display.autoscale(size.w, size.h);
939 }
940 this._fixScrollbars();
941 }
942
943 // Requests a change of remote desktop size. This message is an extension
944 // and may only be sent if we have received an ExtendedDesktopSize message

Callers 3

scaleViewportMethod · 0.95
_handleResizeMethod · 0.95
_resizeMethod · 0.95

Calls 3

_screenSizeMethod · 0.95
_fixScrollbarsMethod · 0.95
autoscaleMethod · 0.80

Tested by

no test coverage detected