-
Notifications
You must be signed in to change notification settings - Fork 563
Closed
Milestone
Description
The event location that is returned onTap or onTouchPressed seems to be relative to the entire window. Is there a way I can easily deduce the location of a tap within a button (clickable area). I want to be able to map the height location of the tap within the button to a variable from 0-1.
This might be less difficult on iOS because of a fixed screen size, but with a Mac app that can scale, it gets difficult because the numbers change when the window is resized.
My apologies if this is an easy one. :)