N°1479 : Fixed a bug where impact analysis zoom would affect other tabs' size

SVN:trunk[5901]
This commit is contained in:
Stephen Abello
2018-06-22 13:51:21 +00:00
parent 61366b347d
commit ba0c18eec1

View File

@@ -407,7 +407,7 @@ $(function()
ymax = this.options.ymax + iMargin;
var xScale = this.element.width() / (xmax - xmin);
var yScale = this.element.height() / (ymax - ymin + this.iTextHeight);
this.fZoom = Math.min(xScale, yScale, fMaxZoom);
switch(this.options.align)
{
@@ -682,7 +682,7 @@ $(function()
},
_on_resize: function()
{
this.element.closest('.ui-tabs').tabs({ heightStyle: "fill" });
this.element.closest('.ui-tabs').tabs({ heightStyle: "content" });
this.auto_scale();
this._close_all_tooltips();
this.draw();