This commit is contained in:
Lncvrt committed 2026-02-03 18:51:40 -07:00
1 parent be4b8fc3ee
commit 4ec597967a
9 files changed
+127 -79

No files matched your search

+10 -6
View File
@@ -43,9 +43,11 @@ export default function Sidebar () {
hidden={platform() != 'macos'}
onMouseDown={e => {
if (e.buttons === 1) {
e.detail === 2
? getCurrentWindow().toggleMaximize()
: getCurrentWindow().startDragging()
if (e.detail === 2) {
getCurrentWindow().toggleMaximize()
} else {
getCurrentWindow().startDragging()
}
}
}}
></div>
@@ -62,9 +64,11 @@ export default function Sidebar () {
onMouseDown={e => {
if (platform() != 'macos') return
if (e.buttons === 1) {
e.detail === 2
? getCurrentWindow().toggleMaximize()
: getCurrentWindow().startDragging()
if (e.detail === 2) {
getCurrentWindow().toggleMaximize()
} else {
getCurrentWindow().startDragging()
}
}
}}
>