Skip to content

Instantly share code, notes, and snippets.

@ochen1
Created March 26, 2021 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ochen1/095dfbf0470c7850d9be7af941890176 to your computer and use it in GitHub Desktop.
Save ochen1/095dfbf0470c7850d9be7af941890176 to your computer and use it in GitHub Desktop.
NoVNC patch to show local cursor
--- core/display.js.bak 2021-03-26 16:10:05.826957824 +0000
+++ core/display.js 2021-03-26 16:10:41.667264310 +0000
@@ -507,7 +507,7 @@
},
disableLocalCursor: function () {
- this._target.style.cursor = "none";
+ // this._target.style.cursor = "none";
},
autoscale: function (containerWidth, containerHeight) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment