feat: make sidebar title bar draggable

This commit is contained in:
purocean
2026-09-19 13:17:16 +08:00
parent b761fa7964
commit 6d87f1bd72
+4
View File
@@ -122,6 +122,8 @@ onBeforeUnmount(() => {
align-items: center;
position: relative;
padding: 0 3px;
-webkit-app-region: drag;
app-region: drag;
& > .title {
position: absolute;
@@ -141,6 +143,8 @@ onBeforeUnmount(() => {
& > .btns {
background: var(--g-color-98);
-webkit-app-region: no-drag;
app-region: no-drag;
}
.btn {