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

Henry Minsky henry.minsky at gmail.com
Thu Nov 13 20:53:19 PST 2008


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