Update drag handling: use topbar for dragging, add cursor styles, and exclude certain elements from drag initiation

This commit is contained in:
Dariusz L
2026-05-28 15:12:00 +02:00
parent 6124005f6c
commit b5beace334
3 changed files with 34 additions and 6 deletions
+10
View File
@@ -60,6 +60,12 @@
padding: 6px 10px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.38);
background: #1f1f1f;
cursor: grab;
user-select: none;
}
.ml-dialog-topbar.ml-is-dragging {
cursor: grabbing;
}
.ml-dialog-brand,
@@ -101,6 +107,10 @@
box-sizing: border-box;
}
.ml-dialog-topbar.ml-is-dragging #model-linker-drag-handle {
cursor: grabbing;
}
#model-linker-modal .ml-window-btn {
display: flex;
align-items: center;