A modest proposal for a new property
brahma at hindu.org
Wed Sep 27 12:48:11 EDT 2017
marvelous, very important thread…in mobile, it's all about the touch msg…
yes "all of the above" the enhancement request to allow margins for widgets stands as still useful but plays directly into the other scenarios described here. And though separate "desires," they do over lap
e.g. As it is now, the entire rect of an SVG widget is it's hit box.
Hence the request for margins… which is "it's own solution"
But then, this:
"When they're stacked on top of each other the transparent part of the
rect is still the object under the cursor, and so obscures what's
Having SVG on top of a graphic or vice-versa is, will be, a common use case, which is yet another scenario.
you may *not* want the mouse event to pass through the "transparent" area. to objects below, objects below being "eye-candy" (gradient backgrounds etc.)
How Mark will provide a solution for "all of the above" will be interesting to see.
And where an SVG widget needs a clickable region larger than its bounds,
the SVG widget would need to be enhanced to provide that.
All of these are practical desires, but each has its own solution.
More information about the Use-livecode