Roo/svg/Canvas.js
[roojs1] / Roo / svg / Canvas.js
index 13213fa..95526d4 100644 (file)
@@ -97,7 +97,8 @@ Roo.extend(Roo.svg.Canvas, Roo.bootstrap.Component,  {
     
     updateViewBox: function()
     {
-        
+        this.el.attr("viewBox", this.viewBox.x + " " + this.viewBox.y + " " + this.viewBox.w + " " + this.viewBox.h);
+
     }