Call resize after the viewer becomes visible.
This commit is contained in:
parent
f7721f7e05
commit
55602f2031
@ -99,6 +99,7 @@ OV.Website = class
|
||||
{
|
||||
if (show) {
|
||||
this.parameters.mainDiv.show ();
|
||||
this.Resize ();
|
||||
} else {
|
||||
this.parameters.mainDiv.hide ();
|
||||
}
|
||||
@ -133,7 +134,6 @@ OV.Website = class
|
||||
this.viewer.SetUpVector (importResult.upVector, false);
|
||||
this.navigator.FillTree (importResult);
|
||||
this.FitModelToWindow (true);
|
||||
this.Resize ();
|
||||
}
|
||||
|
||||
OnModelClicked (button, isCtrlPressed, mouseCoordinates)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user