fix(ui): compact library/search titlebars and reliable local stop
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Library/search headers no longer overflow at narrow widths and use the shared titlebar strip outside macOS. Transferring a local video now pauses it before reporting it stopped, preventing a ghost playback session.
This commit is contained in:
1 parent
5b4efd20c0
commit
0d2edcab3d
6 files changed
+38
-19
No files matched your search
@@ -31,14 +31,8 @@ const WindowChrome = () => {
|
||||
const { pathname } = useLocation();
|
||||
if (isMac) return null;
|
||||
if (pathname === "/home" || shouldShowAppBar(pathname)) return null;
|
||||
// These routes draw their own headers and include WindowControls.
|
||||
if (
|
||||
pathname.startsWith("/library") ||
|
||||
pathname.startsWith("/search") ||
|
||||
pathname.startsWith("/player")
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
// The video player has its own fullscreen UI.
|
||||
if (pathname.startsWith("/player")) return null;
|
||||
|
||||
return <WindowChromeContent />;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user