Make window controls fire on pointer down
All checks were successful
Build Windows App / build-windows (push) Successful in 24m1s
All checks were successful
Build Windows App / build-windows (push) Successful in 24m1s
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user