Call resize when the model is loaded so sidebar will appear correctly on first load.

This commit is contained in:
kovacsv 2021-08-15 12:50:20 +02:00
parent fda780b212
commit ba4dcdfe04

View File

@ -133,6 +133,7 @@ OV.Website = class
this.viewer.SetUpVector (importResult.upVector, false);
this.navigator.FillTree (importResult);
this.FitModelToWindow (true);
this.Resize ();
}
OnModelClicked (button, isCtrlPressed, mouseCoordinates)