Roo/svg/Canvas.js
authorAlan Knowles <alan@roojs.com>
Fri, 25 Jun 2021 07:34:18 +0000 (15:34 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 25 Jun 2021 07:34:18 +0000 (15:34 +0800)
Roo/svg/Canvas.js

index 78d6d53..c9700de 100644 (file)
@@ -91,6 +91,7 @@ Roo.extend(Roo.svg.Canvas, Roo.bootstrap.Component,  {
                 width : x,
                 height : x * ratio //p.getComputedHeight() - p.getFrameWidth('tb')
             });
+            this.updateViewBox();
         }).defer(300, this);
         
     },