fix(playback): reconcile webpage sources and clarify controls

This commit is contained in:
AAA committed 2026-11-24 06:33:25 -05:00
1 parent 20bd264b95
commit 36cd8788df
12 files changed
+129 -38

No files matched your search

+3 -1
View File
@@ -57,6 +57,7 @@ export function Btn({
expanded,
hasPopup,
keyShortcuts,
shortcutLabel,
controls,
popoverTarget,
onClick,
@@ -89,6 +90,7 @@ export function Btn({
controls?: string;
popoverTarget?: string;
keyShortcuts?: string;
shortcutLabel?: string;
onClick?: () => void;
type?: "button" | "submit";
/** Shared hint comic with its localized caption. */
@@ -153,7 +155,7 @@ export function Btn({
);
return hint ? (
<Tooltip kind={hint} disabled={expanded} tone={hintTone} motion={hintMotion} place={hintPlace} align={hintAlign} text={hintText ? t(hintText, hintVars) : label}>{button}</Tooltip>
) : textTooltip ? <Tooltip text={label} disabled={expanded}>{button}</Tooltip> : (
) : textTooltip ? <Tooltip text={shortcutLabel ? label + " · " + shortcutLabel : label} disabled={expanded}>{button}</Tooltip> : (
button
);
}