Call resize when the model is loaded so sidebar will appear correctly on first load.
This commit is contained in:
parent
fda780b212
commit
ba4dcdfe04
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user