From 59e40b443552a882c9ead0518e89fd5baaf502c6 Mon Sep 17 00:00:00 2001 From: Daniel Hammerschmidt Date: Wed, 17 Sep 2025 03:25:38 +0200 Subject: [PATCH] Revert "Make local cursor accessible/configurable" This reverts commit 6eb28b890d0c4debbb3520d1f09e329364557aaf. --- core/util/cursor.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/util/cursor.js b/core/util/cursor.js index 193372da..6d689e7d 100644 --- a/core/util/cursor.js +++ b/core/util/cursor.js @@ -106,7 +106,7 @@ export default class Cursor { } clear() { - this.setLocalCursor('none'); + this._target.style.cursor = 'none'; this._canvas.width = 0; this._canvas.height = 0; this._position.x = this._position.x + this._hotSpot.x; @@ -115,10 +115,6 @@ export default class Cursor { this._hotSpot.y = 0; } - setLocalCursor(cursor) { - this._target.style.cursor = cursor; - } - // Mouse events might be emulated, this allows // moving the cursor in such cases move(clientX, clientY) {