-
Notifications
You must be signed in to change notification settings - Fork 974
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
Requested coordinates are outside the main screen's dimensions #280
Comments
This is an old issue, but it was the first one I found as I was searching for a solution to the same problem. Refer to issue #88 for any updates. |
The link http://clickpalette.com/ is NSFW. Please remove it. |
@Louis-7 This is an old issue, opened over 2 years ago. Since then I've discontinued ClickPalette, therefore the domain has expired and so I'm no longer in ownership of it. I've removed the link above and will be closing the issue. |
Thanks. |
I'm still experiencing this issue. I'm not sure why it was closed since it wasn't resolved. |
@jonschlinkert have you been checked this link -> #88? |
Expected Behavior
var mouse = robot.getMousePos(); var color = '#'+robot.getPixelColor(mouse.x, mouse.y);
Should return the color at the mouse position.
Current Behavior
Returns the following error when clicking on the secondary monitor
Uncaught Error: Requested coordinates are outside the main screen's dimensions.
Possible Solution
Not too sure, I see you have fixed other multi-screen issues, this too would be highly beneficial if fixed as I'd like to use this as a color picker on my app.
Steps to Reproduce (for bugs)
var mouse = robot.getMousePos(); var color = '#'+robot.getPixelColor(mouse.x, mouse.y);
Context
I've built a color palette tool and wish add a color picker to it, your library allows me to easily achieve this!
https://github.com/jam3sn/ClickPalette
Your Environment
The text was updated successfully, but these errors were encountered: