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