Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Fixed mouse events missing x_offset and y_offset #47

Merged
merged 4 commits into from Sep 25, 2017
Merged

Conversation

d0p3t
Copy link
Contributor

@d0p3t d0p3t commented Sep 25, 2017

Fix for #46

I've added the x_offset and y_offset to the click() method while removing all offsets from other methods using the click() method. Now the click() method also includes offsets.

I've also added the offsets to the drag() and scroll() methods.

* Added x_offset and y_offset to click()
* Removed x_offset and y_offset from methods using click()
* Added x_offset and y_offset back to _extract_screen_region_coordinates()
@nbrochu nbrochu merged commit 53216ce into SerpentAI:dev Sep 25, 2017
@nbrochu
Copy link
Member

nbrochu commented Sep 25, 2017

Yep. Looks good to me! Thanks!

@d0p3t d0p3t deleted the mouse branch September 25, 2017 20:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants