mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-02-16 18:31:50 +01:00
Allow cursor to be updated while connecting
We haven't got a server provided cursor at this point, but we might have done something local, e.g. enabled the dot cursor.
This commit is contained in:
parent
8be70e5ae0
commit
89dd199317
@ -2071,7 +2071,10 @@ export default class RFB extends EventTargetMixin {
|
||||
}
|
||||
|
||||
_refreshCursor() {
|
||||
if (this._rfb_connection_state !== 'connected') { return; }
|
||||
if (this._rfb_connection_state !== "connecting" &&
|
||||
this._rfb_connection_state !== "connected") {
|
||||
return;
|
||||
}
|
||||
const image = this._shouldShowDotCursor() ? RFB.cursors.dot : this._cursorImage;
|
||||
this._cursor.change(image.rgbaPixels,
|
||||
image.hotx, image.hoty,
|
||||
|
Loading…
Reference in New Issue
Block a user