[Laszlo-checkins] r13719 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf
hqm@openlaszlo.org
hqm at openlaszlo.org
Mon Apr 20 16:04:15 PDT 2009
Author: hqm
Date: 2009-04-20 16:04:13 -0700 (Mon, 20 Apr 2009)
New Revision: 13719
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
Log:
Change 20090420-hqm-W by hqm at badtzmaru.home on 2009-04-20 19:01:07 EDT
in /Users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for zero-width visibility bug
New Features:
Bugs Fixed: LPP-7936
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
+ use 'height' instead of width (typo) in the _yscale == 0 case in updateResourceSize
Tests:
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as 2009-04-20 23:03:49 UTC (rev 13718)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as 2009-04-20 23:04:13 UTC (rev 13719)
@@ -721,7 +721,7 @@
if (mc._yscale == 0) {
// special case if _yscale is zero, need to make it 100% to make measurement of resource height
mc._yscale = 100;
- this.resourcewidth = Math.round(mc._width);
+ this.resourceheight = Math.round(mc._height);
mc._yscale = 0;
} else {
this.resourceheight = Math.round(mc._height/(mc._yscale/100));
More information about the Laszlo-checkins
mailing list