Fixed #10759
This commit is contained in:
@@ -544,7 +544,7 @@ public class DesktopInput extends InputHandler{
|
||||
}
|
||||
}
|
||||
|
||||
if(!Core.scene.hasMouse()){
|
||||
if(!Core.scene.hasMouse() && !ui.minimapfrag.shown()){
|
||||
Core.graphics.cursor(cursorType);
|
||||
}else{
|
||||
cursorType = SystemCursor.arrow;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package mindustry.ui.fragments;
|
||||
|
||||
import arc.*;
|
||||
import arc.Graphics.Cursor.*;
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import arc.input.*;
|
||||
@@ -150,5 +151,8 @@ public class MinimapFragment{
|
||||
}
|
||||
|
||||
shown = !shown;
|
||||
if(shown && Core.app.isDesktop()){
|
||||
Core.graphics.cursor(SystemCursor.arrow);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user