You are right. I tend to use the svgIcon widget as a replacement for buttons with icons, as I like to use color/icon switch as a highlight effect, and I find that it is easier to produce persistent design with the widget. I just have to check if the mouseLoc is within the rect of the widget to make it work, so it is not very complicated to get around.
Tore > 2. okt. 2016 kl. 20.55 skrev hh <h...@hyperhh.de>: > > Tore N. wrote: >> I think I have come across an error in the SVG icon widget. If the mouse >> is released outside of the widget, the mouseUp handler is trigged even if >> the user has moved the pointer outside of the rect of the widget. >> The mouseLeave handler is correctly triggered before the mouseUp handler >> fires away. Has anyone else come across this. Using LC 8.1.1 (rc1) on MacOS >> Sierra 10.12.1 (beta). > > Tore, this is probably not a bug but a current 'behaviour' of most widgets, > see the LiveCode Builder subforum: > > http://forums.livecode.com/viewtopic.php?f=93&t=24369 > http://forums.livecode.com/viewtopic.php?f=93&t=27776 > > Hermann > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode