Commit 7a041d82 authored by Cantuerk's avatar Cantuerk
Browse files

Update public/index.html

1 merge request!164Update public/index.html
Showing with 9 additions and 19 deletions
+9 -19
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 20px; /*gap: 20px;*/
background: #1e1e1e; background: #1e1e1e;
box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.8); box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.8);
color: white; color: white;
...@@ -192,12 +192,13 @@ ...@@ -192,12 +192,13 @@
height: 200px; height: 200px;
z-index: 20; z-index: 20;
overflow-y: auto; overflow-y: auto;
padding: 20px 0; /*padding: 20px 0;*/
border-radius: 8px; border-radius: 8px;
} }
#dynamic-menu input[type="range"] { #dynamic-menu input[type="range"] {
width: 90%; width: 100%;
margin: 10px auto; margin: 10px auto;
background: #3a3a3a; background: #3a3a3a;
border-radius: 5px; border-radius: 5px;
...@@ -650,6 +651,11 @@ ...@@ -650,6 +651,11 @@
const maxScale = selectedPlacedModel.maxScale; const maxScale = selectedPlacedModel.maxScale;
const step = (maxScale - minScale) / 100; // Dynamische Schrittgröße basierend auf Grenzen const step = (maxScale - minScale) / 100; // Dynamische Schrittgröße basierend auf Grenzen
console.log("Die größen des ausgewählten Modells sind wie folgt: ")
console.log("currentScale", currentScale)
console.log("minScale", minScale)
console.log("maxScale", maxScale)
const dynamicMenu = document.getElementById("dynamic-menu"); const dynamicMenu = document.getElementById("dynamic-menu");
dynamicMenu.style.display = "flex"; dynamicMenu.style.display = "flex";
dynamicMenu.innerHTML = ` dynamicMenu.innerHTML = `
...@@ -700,22 +706,6 @@ ...@@ -700,22 +706,6 @@
dynamicMenu.style.display = "none"; dynamicMenu.style.display = "none";
} }
function showInfoDialog(message) {
const infoDialog = document.getElementById("info-dialog");
const infoText = document.getElementById("info-text");
// Nachricht setzen
infoText.textContent = message;
// Dialog anzeigen
infoDialog.style.display = "flex";
}
function closeInfoDialog() {
const infoDialog = document.getElementById("info-dialog");
infoDialog.style.display = "none";
}
function refreshMapDialog() { function refreshMapDialog() {
const mapDialog = document.getElementById('map-dialog'); const mapDialog = document.getElementById('map-dialog');
mapDialog.style.display = 'flex'; mapDialog.style.display = 'flex';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment