Commit 76deec0
committed
When destroying an interactive Game Object that had
The `InputPlugin.shutdown` method will now reset the CSS cursor, in case it was set by any Game Objects in the Scene that have since been destroyed.useHandCursor enabled, it would reset the CSS cursor to default, even if the cursor wasn't over that Game Object. It will now only reset the cursor if it's over the Game Object being destroyed. Fix phaserjs#5321
1 parent 76b8452 commit 76deec0
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
800 | | - | |
801 | 799 | | |
802 | 800 | | |
803 | 801 | | |
| |||
820 | 818 | | |
821 | 819 | | |
822 | 820 | | |
| 821 | + | |
| 822 | + | |
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
| |||
2859 | 2859 | | |
2860 | 2860 | | |
2861 | 2861 | | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
2862 | 2866 | | |
2863 | 2867 | | |
2864 | 2868 | | |
2865 | 2869 | | |
2866 | 2870 | | |
2867 | 2871 | | |
2868 | 2872 | | |
2869 | | - | |
2870 | | - | |
| 2873 | + | |
| 2874 | + | |
2871 | 2875 | | |
2872 | 2876 | | |
2873 | 2877 | | |
| |||
0 commit comments