[Laszlo-dev] For Review: Change 20081113-hqm-g Summary: fix for contextmenu bug

P T Withington ptw at pobox.com
Fri Nov 14 10:36:21 PST 2008


Clever.  I like this much better than the parallel universe solution!

On 2008-11-13, at 23:53EST, Henry Minsky wrote:

> Change 20081113-hqm-g by hqm at badtzmaru.home on 2008-11-13 23:48:45 EST
>    in /Users/hqm/openlaszlo/trunk5
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: fix for contextmenu bug
>
> New Features:
>
> Bugs Fixed: LPP-6980
>
> Technical Reviewer: max
> QA Reviewer: andre
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
>
> + If you set the "hitArea" property of Sprite to an empty sprite  
> which is not
> on the display list, then the sprite becomes transparent to mouse  
> clicks.
> This can be used to counteract the effect of setting  
> mouseEnabled=true,
> which is needed to make the context menus work.
>
> Tests:
>
> lzpix (added contextmenu to the <photo> class)
> test/contextmenu/lpp-6980.lzx
> test/contextmenu/over-input.lzx
>
>
> Files:
> M      WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
> A      test/contextmenu/over-input.lzx
> A      test/contextmenu/lpp-6980.lzx
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081113-hqm-g.tar



More information about the Laszlo-dev mailing list