Author: max
Date: 2007-08-17 17:59:23 -0700 (Fri, 17 Aug 2007)
New Revision: 6141
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
Log:
Change 20070817-maxcarlson-c by [EMAIL PROTECTED] on 2007-08-17 17:26:25 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: UPDATED: Fix swf mouse coordinate rounding issue
New Features:
Bugs Fixed: LPP-4436 - window decrements its x and y coordinates when clicked
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzSprite.as - Round off coordinates in getMouse()
Tests: See LPP-4436
Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
2007-08-18 00:51:31 UTC (rev 6140)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
2007-08-18 00:59:23 UTC (rev 6141)
@@ -930,7 +930,7 @@
*/
LzSprite.prototype.getMouse = function() {
if ( ! this.__LZmovieClipRef ) { this.makeContainerResource() };
- return {x: this.__LZmovieClipRef._xmouse, y: this.__LZmovieClipRef._ymouse}
+ return {x: Math.round(this.__LZmovieClipRef._xmouse), y:
Math.round(this.__LZmovieClipRef._ymouse)}
}
/**
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins