mirror of
https://gitee.com/lu-sang/Java-DrissonPage.git
synced 2026-06-03 21:02:03 +08:00
修改了actions动作链只有按下没有释放功能
This commit is contained in:
parent
b1f74b2e07
commit
3e0ecc1a4b
@ -820,7 +820,7 @@ public class Actions {
|
||||
* @return this
|
||||
*/
|
||||
private Actions _release(ClickAction button) {
|
||||
this.dr.run("Input.dispatchMouseEvent", Map.of("type", "mousePressed", "button", button.getValue(), "clickCount", 1, "x", this.curr.getX(), "y", this.curr.getY(), "modifiers", this.modifier));
|
||||
this.dr.run("Input.dispatchMouseEvent", Map.of("type", "mouseReleased", "button", button.getValue(), "clickCount", 1, "x", this.curr.getX(), "y", this.curr.getY(), "modifiers", this.modifier));
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user