mirror of
https://github.com/wassname/phaser.git
synced 2026-08-16 11:25:21 +08:00
Input no longer sets cursor to default if already set to none
This commit is contained in:
+5
-1
@@ -488,7 +488,11 @@ Phaser.Input.prototype = {
|
||||
}
|
||||
|
||||
this.currentPointers = 0;
|
||||
this.game.stage.canvas.style.cursor = "default";
|
||||
|
||||
if (this.game.canvas.style.cursor !== 'none')
|
||||
{
|
||||
this.game.canvas.style.cursor = 'default';
|
||||
}
|
||||
|
||||
if (hard === true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user