Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue #559 #592

Merged
merged 1 commit into from
Jul 8, 2021
Merged

Fix Issue #559 #592

merged 1 commit into from
Jul 8, 2021

Conversation

HarishChandran3304
Copy link
Contributor

Fixes issue #559 where calling moveTo() causes an error when passed singular None containing x-y coordinates despite it being doable according to the docs as mentioned by the author of the issue. Only the case where double None containing x-y coordinates was handled. The other two cases where either only x or only y is None can be easily handled similarly by replacing the None with the current x or y position by calling position() and indexing the tuple accordingly.

@asweigart asweigart merged commit 5e4acb8 into asweigart:master Jul 8, 2021
JayRizzo added a commit to JayRizzo/pyautogui that referenced this pull request Apr 15, 2022
Hi all, This is a quick fix for asweigart#684.  Please update if needed.  This is in addition to asweigart#559 asweigart#592 that have already been merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants