Minor modification.

This commit is contained in:
kovacsv 2021-12-17 10:10:47 +01:00
parent 60b2e02fa8
commit 228841538e

View File

@ -155,6 +155,14 @@ OV.Website = class
this.navigator.FillTree (importResult);
this.UpdateSidebar ();
this.FitModelToWindow (true);
if (this.parameters.fileNameDiv.innerHTML === 'christmas_challenge.gltf') {
this.dialog = OV.ShowMessageDialog (
'Christmas Challenge',
'Click on the boxes and find the hidden surprise. 🎁',
null
);
}
}
OnModelClicked (button, mouseCoordinates)