feat: cross-platform titlebar, video transfers and client cleanup
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

Adds frameless-window controls for Windows/Linux (native traffic lights on macOS), keeps transfers at the current position for video, lets the video player use the same sync/device controls as the media bar, and removes dead code plus assorted UI/perf issues.
This commit is contained in:
1xDed committed 2026-11-28 01:31:16 +03:00
1 parent 4bdd0139bf
commit 6675a55957
26 files changed
+561 -316

No files matched your search

+8 -2
View File
@@ -104,9 +104,15 @@ function ProviderWrapper() {
}
const init = async () => {
// The window is frameless-ish on macOS (overlay titlebar): the app header is the titlebar.
if (navigator.userAgent.includes("Macintosh")) {
// Frameless titlebar: macOS keeps the native traffic lights; Windows and
// Linux use the custom window buttons in the header.
const userAgent = navigator.userAgent;
if (userAgent.includes("Macintosh")) {
document.documentElement.classList.add("is-macos");
} else if (userAgent.includes("Windows")) {
document.documentElement.classList.add("is-windows");
} else {
document.documentElement.classList.add("is-linux");
}
// Layout transitions during a live window resize cause visible wobble