fix(controller): show dialog hints only while a controller is connected

- Add createControllerHintVisibility: use the dialog window's pad, else ask main which controller the overlay is reading, at most once per second while a dialog is open
- Hide shortcut tags when controller support is on but no controller is present
- Update the Anki integration docs and changelog fragments to match
This commit is contained in:
sudacode committed 2026-11-05 00:54:25 -08:00
1 parent 5140b5e9be
commit 79e5535823
7 files changed
+135 -8

No files matched your search

+1 -1
View File
@@ -2045,7 +2045,7 @@ body:focus-visible,
text-align: center;
}
/* Controller hints: shown beside each control while controller support is on. */
/* Controller hints: shown beside each control while a controller is connected. */
.media-timing-review-modal.controller-hints-visible button[data-controller-hint]::after,
#kikuFieldGroupingModal.controller-hints-visible [data-controller-hint]::after {
content: attr(data-controller-hint);