Change 20081115-hqm-l by [EMAIL PROTECTED] on 2008-11-15 13:49:21 EST
in /Users/hqm/openlaszlo/trunk5
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: use hitArea/mouseEnabled hack on all LzSprites
New Features:
Bugs Fixed: LPP-7349
Technical Reviewer: andre
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
+ I have just set mouseEnabled=true on all LzSprites, and keep the
hitArea = emptySprite on all LzSprite by default.
+ When clickable is enabled, the hitArea is removed, and the
SimpleButton is used to catch mouse clicks.
When clickable is disabled, the hitArea=emptySprite is set again.
I don't think this has any noticable performance implications, but I'm
not sure.
Tests:
test case from bug report
lzpix works (with contextmenu attached to <photo> class)
test/contextmenu/lpp-6980.lzx
test/contextmenu/over-input.lzx
Files:
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081115-hqm-l.tar