Closed devpolant closed 4 years ago
Hi Anton,
Thank you for your work on Macaw! However this task doesn't really require any job on the Macaw engine. Usually in this case you can add a bigger invisible shape which can trigger touch handlers. So you can actually write external tool for Macaw which will add such a shape for every node. This will give you more flexibility (you can add it only for part of nodes, or insets can be different for different nodes, etc.) and will not complicate core library.
Ok, thanks for your reply. I will close this PR.
Intention
Updates
public var touchContentInset: MEdgeInsets
intoMacawView
that is passed to renderers to increase effective shape bounds insidedoFindNodeAt
method.P.S I know that it looks more like a workaround, so I'm not sure do you think it is a good idea to add this code into main repository. Please just let me know what do you think about it. If you think it is not a good idea, then I will close this PR.
Thanks in advance!