Mobile-friendly UI
This commit is contained in:
@@ -87,6 +87,10 @@ function updateNameText(name) {
|
||||
|
||||
const gui = new GUI({ width: 425 }); //New UI
|
||||
|
||||
if (window.innerWidth <= 600) {
|
||||
gui.close(); // Starts collapsed on mobile
|
||||
}
|
||||
|
||||
//Loading elements
|
||||
const loaderContainer = document.getElementById('loader-container');
|
||||
const loadingText = document.getElementById('loading-text');
|
||||
|
||||
Reference in New Issue
Block a user