mirror of
https://github.com/SoPat712/Speeder.git
synced 2026-10-08 03:03:14 -04:00
fix(controller): keep controls open while hovered
This commit is contained in:
3 files changed
+112
-1
No files matched your search
@@ -44,6 +44,7 @@
|
||||
after a mouse click kept #controls visible while hover-only rules (e.g. draggable
|
||||
margin) turned off when the pointer left the bar. */
|
||||
#controller:hover #controls,
|
||||
#controller.vsc-controls-hovered #controls,
|
||||
#controller:focus-within:has(:focus-visible) #controls,
|
||||
:host(:hover) #controls {
|
||||
display: inline-flex;
|
||||
@@ -85,6 +86,10 @@
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#controller.vsc-controls-hovered > .draggable {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
/* Center presets: midpoint between left- and right-preset inset lines; center bar on that X. */
|
||||
#controller[data-location="top-center"]:not([data-position-mode="manual"]) {
|
||||
transform: translate(-50%, 0) !important;
|
||||
|
||||
Reference in new issue
Block a user