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

Method absX

systemvm/agent/noVNC/core/display.js:175–180  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

173 }
174
175 absX(x) {
176 if (this._scale === 0) {
177 return 0;
178 }
179 return toSigned32bit(x / this._scale + this._viewportLoc.x);
180 }
181
182 absY(y) {
183 if (this._scale === 0) {

Callers 1

_sendMouseMethod · 0.80

Calls 1

toSigned32bitFunction · 0.90

Tested by

no test coverage detected