[DE][PE] Fix bug with resizing diagram editor (change size of the main window and open diagram editor).
This commit is contained in:
parent
b66fbdb59b
commit
8a64cc883e
|
@ -264,6 +264,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
hasTabInvisible: function() {
|
hasTabInvisible: function() {
|
||||||
|
if ($boxTabs.length<1) return false;
|
||||||
|
|
||||||
var _left_bound_ = Math.round($boxTabs.offset().left),
|
var _left_bound_ = Math.round($boxTabs.offset().left),
|
||||||
_right_bound_ = Math.round(_left_bound_ + $boxTabs.width());
|
_right_bound_ = Math.round(_left_bound_ + $boxTabs.width());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue