(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