mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 12:54:55 +00:00
feat(webui): compare fullscreen control bar follows app theme
Add a themedChrome prop to VideoControlBar that keeps the normal theme-aware chrome (bg-card / foreground text) while fullscreen instead of the dark video overlay. Compare mode passes it so its fullscreen bar matches the app light/dark theme for both video- and image-active panes (ImageControlBar is already themed). The single-file player is unchanged (themedChrome defaults to false -> dark overlay). The fullscreen toggle icon still reflects the actual fullscreen state.
This commit is contained in:
@@ -76,6 +76,7 @@ export function CompareControlBar({
|
||||
state={state}
|
||||
zoom={activeState.zoom}
|
||||
isControlsVisible
|
||||
themedChrome
|
||||
buffered={v.buffered}
|
||||
data={data}
|
||||
resolutions={v.resolutions as DisplayTranscode[]}
|
||||
|
||||
Reference in New Issue
Block a user