Call resize after the viewer becomes visible.

This commit is contained in:
kovacsv 2021-08-15 17:25:49 +02:00
parent f7721f7e05
commit 55602f2031

View File

@ -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)