[Laszlo-checkins] r11264 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9
bargull@openlaszlo.org
bargull at openlaszlo.org
Sun Sep 28 07:07:01 PDT 2008
Author: bargull
Date: 2008-09-28 07:06:57 -0700 (Sun, 28 Sep 2008)
New Revision: 11264
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
Log:
Change 20080928-bargull-C1E by bargull at dell--p4--2-53 on 2008-09-28 13:36:38
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix mouse bubbling for inputtexts
New Features:
Bugs Fixed: LPP-7078
Technical Reviewer: max
QA Reviewer: hminsky
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Don't cancel "onmouseup" if another sprite was selected or it won't receive its "onmouseup"-event
Tests:
attached at bugreport
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as 2008-09-28 11:35:37 UTC (rev 11263)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as 2008-09-28 14:06:57 UTC (rev 11264)
@@ -91,7 +91,10 @@
}
private function __ignoreMouseEvent(e:MouseEvent) :void {
- e.stopPropagation();
+ if (e.type != MouseEvent.MOUSE_UP || LzMouseKernel.__lastMouseDown == this) {
+ // don't cancel "onmouseup" if another sprite was selected
+ e.stopPropagation();
+ }
}
public function enableClickableLinks( enabled:Boolean):void {
More information about the Laszlo-checkins
mailing list