Make window controls fire on pointer down
All checks were successful
Build Windows App / build-windows (push) Successful in 24m1s

This commit is contained in:
MrSphay
2026-05-01 20:35:35 +02:00
parent dda118fbb3
commit 03407feeb9
2 changed files with 19 additions and 13 deletions

View File

@@ -198,6 +198,11 @@ textarea:focus {
z-index: 2;
}
.windowControls,
.windowControls * {
-webkit-app-region: no-drag;
}
.windowControls button {
-webkit-app-region: no-drag;
background: transparent;
@@ -209,6 +214,10 @@ textarea:focus {
padding: 0;
}
.windowControls svg {
pointer-events: none;
}
.windowControls button:hover {
background: var(--surface-subtle);
border-color: var(--border);