-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi. I'm working with the addon to use buttons inside a little application. When I use ofScale(0.5, 0.5) the app draws the buttons correctly inside the scaled layout, however I can't get the isMousePressed event in the new coordinates.
For example if I draw a button in the layout unscaled at (500,500) and then I do ofScale(0.5, 0.5), the new button will be drawn at (250,250) however the button will not catch clicks on that point but on the original unscaled position (500,500).
How can I fix this?
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels