Revert "Make local cursor accessible/configurable"
This reverts commit 6eb28b890d.
This commit is contained in:
parent
254fff94ac
commit
59e40b4435
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue