Commit 2fe2e84e authored by Cantuerk's avatar Cantuerk
Browse files

Update public/index.html

1 merge request!123Update public/index.html
Showing with 11 additions and 10 deletions
+11 -10
......@@ -162,11 +162,17 @@
#dynamic-menu {
position: absolute;
bottom: 70px;
width: 100%;
height: 200px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
padding: 20px;
background: rgba(0, 0, 0, 0.8);
box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
color: white;
padding: 20px;
width: 100%;
height: 200px;
z-index: 20;
overflow-y: auto;
}
......@@ -219,10 +225,7 @@
</div>
<!-- Dynamisches Menü -->
<div id="dynamic-menu"
style="display: none; position: absolute; bottom: 0; width: 100%; background: #f5f5f5; padding: 20px; box-shadow: 0 -2px 6px rgba(0,0,0,0.2);">
</div>
<div id="dynamic-menu" style="display: none;"></div>
<!-- Bestätigungsdialog -->
<div id="confirmation-dialog" style="display: none;">
......@@ -387,9 +390,7 @@
if (intersects.length > 0) {
selectedPlacedModel = intersects[0].object;
highlightSelectedModel();
showInfoDialog("Modell erfolgreich ausgewählt.");
} else {
showInfoDialog("Kein Modell unter dem Cursor gefunden.");
showMenu("edit-menu")
}
}
......
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