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

Method _refreshCursor

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

Source from the content-addressed store, hash-verified

3212 }
3213
3214 _refreshCursor() {
3215 if (this._rfbConnectionState !== "connecting" &&
3216 this._rfbConnectionState !== "connected") {
3217 return;
3218 }
3219 const image = this._shouldShowDotCursor() ? RFB.cursors.dot : this._cursorImage;
3220 this._cursor.change(image.rgbaPixels,
3221 image.hotx, image.hoty,
3222 image.w, image.h
3223 );
3224 }
3225
3226 static genDES(password, challenge) {
3227 const passwordChars = password.split('').map(c => c.charCodeAt(0));

Callers 3

showDotCursorMethod · 0.95
_connectMethod · 0.95
_updateCursorMethod · 0.95

Calls 2

_shouldShowDotCursorMethod · 0.95
changeMethod · 0.45

Tested by

no test coverage detected