mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:21:32 +01:00
(fix) current cursor fix
This commit is contained in:
parent
4c14924eb3
commit
006737e127
@ -72,6 +72,7 @@ public class MouseCursorHandler {
|
||||
public boolean enableCursor(final CursorType cursorType) {
|
||||
if(SystemCursors.isSupported()) {
|
||||
SystemCursors.setCursor(cursorType.getCursor());
|
||||
this.currentCursor = cursorType;
|
||||
return true;
|
||||
} else {
|
||||
if (this.customCursorDisabled) {
|
||||
@ -101,6 +102,7 @@ public class MouseCursorHandler {
|
||||
|
||||
public void disableCursor() {
|
||||
if(SystemCursors.isSupported()) {
|
||||
this.currentCursor = CursorType.NORMAL;
|
||||
SystemCursors.setCursor(SystemCursors.ARROW);
|
||||
} else {
|
||||
if (this.customCursorDisabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user