[Laszlo-checkins] r9420 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9
bargull@openlaszlo.org
bargull at openlaszlo.org
Sun Jun 1 15:02:33 PDT 2008
Author: bargull
Date: 2008-06-01 15:02:31 -0700 (Sun, 01 Jun 2008)
New Revision: 9420
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
Log:
Change 20080601-bargull-FxG by bargull at dell--p4--2-53 on 2008-06-01 19:07:52
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: cancel event-bubbling
New Features:
Bugs Fixed: LPP-6082
Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Stop event propagation if the current sprite is the "last mouse down" sprite.
Tests:
Attached at bugreport
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as 2008-06-01 19:12:33 UTC (rev 9419)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as 2008-06-01 22:02:31 UTC (rev 9420)
@@ -280,6 +280,8 @@
LzMouseKernel.__lastMouseDown = this;
} else if (eventname == 'onmouseup') {
if (LzMouseKernel.__lastMouseDown == this) {
+ // cancel mousedown event bubbling...
+ e.stopPropagation();
this.__mousedown = false;
} else {
skipevent = true;
More information about the Laszlo-checkins
mailing list