mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-15 07:43:20 +08:00
fix: change mouse click method to use LeftButtonDown for improved accuracy #2618
This commit is contained in:
@@ -40,7 +40,7 @@ public class DesktopRegion : Region
|
||||
throw new System.NullReferenceException();
|
||||
}
|
||||
mouse.MoveMouseTo((x + (w * 1d / 2)) * 65535 / Width,
|
||||
(y + (h * 1d / 2)) * 65535 / Height).LeftButtonClick().Sleep(50).LeftButtonUp();
|
||||
(y + (h * 1d / 2)) * 65535 / Height).LeftButtonDown().Sleep(50).LeftButtonUp();
|
||||
}
|
||||
|
||||
public void DesktopRegionMove(int x, int y, int w, int h)
|
||||
|
||||
Reference in New Issue
Block a user