[fusion-commits] r1554 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Sep 26 13:01:35 EDT 2008
Author: pagameba
Date: 2008-09-26 13:01:35 -0400 (Fri, 26 Sep 2008)
New Revision: 1554
Modified:
trunk/lib/CanvasTool.js
Log:
replace some prototype-specific functions and change initialize to initializeCanvas
Modified: trunk/lib/CanvasTool.js
===================================================================
--- trunk/lib/CanvasTool.js 2008-09-26 16:59:40 UTC (rev 1553)
+++ trunk/lib/CanvasTool.js 2008-09-26 17:01:35 UTC (rev 1554)
@@ -111,7 +111,7 @@
resizeCanvas: function() {
var map = this.getMap();
var domObj = map.getDomObj();
- var size = Element.getDimensions(domObj);
+ var size = $(domObj).getContentBoxSize();
this.width = size.width;
this.height = size.height;
this.canvas.style.width = this.width+'px';
More information about the fusion-commits
mailing list