Revert "Make local cursor accessible/configurable"

This reverts commit 6eb28b890d.
This commit is contained in:
Daniel Hammerschmidt 2025-09-17 03:25:38 +02:00
parent 254fff94ac
commit 59e40b4435
1 changed files with 1 additions and 5 deletions

View File

@ -106,7 +106,7 @@ export default class Cursor {
} }
clear() { clear() {
this.setLocalCursor('none'); this._target.style.cursor = 'none';
this._canvas.width = 0; this._canvas.width = 0;
this._canvas.height = 0; this._canvas.height = 0;
this._position.x = this._position.x + this._hotSpot.x; this._position.x = this._position.x + this._hotSpot.x;
@ -115,10 +115,6 @@ export default class Cursor {
this._hotSpot.y = 0; this._hotSpot.y = 0;
} }
setLocalCursor(cursor) {
this._target.style.cursor = cursor;
}
// Mouse events might be emulated, this allows // Mouse events might be emulated, this allows
// moving the cursor in such cases // moving the cursor in such cases
move(clientX, clientY) { move(clientX, clientY) {