Open GoogleCodeExporter opened 9 years ago
Just noticed mistake in my changes.
This should be a better fix:
@@ -517,6 +517,17 @@ goog.graphics.VmlGraphics.prototype.handleContainerResize_
= function() {
if (size.width) {
style.width = size.width + 'px';
style.height = size.height + 'px';
+
+ if (this.coordWidth) {
+ this.canvasElement.getElement().coordsize =
+ goog.graphics.VmlGraphics.toSizeCoord(this.coordWidth) + ' ' +
+ goog.graphics.VmlGraphics.toSizeCoord(
+ /** @type {number} */ (this.coordHeight));
+ } else {
+ this.canvasElement.getElement().coordsize =
goog.graphics.VmlGraphics.toSizeCoord(size.width) + ' ' +
+ goog.graphics.VmlGraphics.toSizeCoord(size.height);
+ }
+
} else {
Original comment by simon.al...@gmail.com
on 2 Sep 2010 at 10:01
Original comment by nn...@google.com
on 27 Apr 2012 at 9:27
Have you signed your CLA?
http://code.google.com/p/closure-library/wiki/Contributors
Original comment by chrishe...@google.com
on 15 May 2012 at 10:43
CLA now signed.
Original comment by simon.al...@gmail.com
on 16 May 2012 at 12:58
Original issue reported on code.google.com by
simon.al...@gmail.com
on 2 Sep 2010 at 9:53