diff --git a/README.md b/README.md index 89f0b6e..b9e527f 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ The inline URL field, including its placeholder, uses the same 12-point system f With no media open, the full window uses native behind-window HUD glass with a 35%-opaque brown tint. Static, cached amber/rust radial gradients add ambient color only to the empty screen; they disappear during loading or errors, and are never drawn over video or playback chrome. Glass title/control/error surfaces use the same brown tint with half-point sand outlines. Decorative drawing does not intercept input. The idle Metal surface stays attached but hidden; opening media restores a solid black background and letterboxing without tinting the video, and closing it restores the ambient frosted background. macOS controls the material’s appearance, including Reduce Transparency. -Normal and compact titlebars have no full-width glass strip or separator: content extends beneath AppKit’s transparent titlebar using `fullSizeContentView`, `titlebarAppearsTransparent`, and `titlebarSeparatorStyle = .none`. Normal-mode titles and their file icons have a small rounded HUD-glass backdrop for legibility; the pin stays over the existing background. Compact titles sit in a content-sized, left-aligned frosted box with 8-point top/left insets, matching the controller’s bottom inset. Title and progress remain adjacent with no expanding gap. When they cannot fit, the title truncates at the end with an ellipsis while progress stays visible; the box fits the 160-point minimum width. Native traffic lights and window dragging are preserved. +Normal and compact titlebars have no full-width glass strip or separator: content extends beneath AppKit’s transparent titlebar using `fullSizeContentView`, `titlebarAppearsTransparent`, and `titlebarSeparatorStyle = .none`. Normal-mode titles and their file icons have a small rounded HUD-glass backdrop for legibility; the pin uses a small-scale symbol over the existing background while retaining its 24-point click target. Compact titles sit in a content-sized, left-aligned frosted box with 8-point top/left insets, matching the controller’s bottom inset. Title and progress remain adjacent with no expanding gap. When they cannot fit, the title truncates at the end with an ellipsis while progress stays visible; the box fits the 160-point minimum width. Native traffic lights and window dragging are preserved. Compact titles default to ` · <position> / <duration> <unit>`, using acknowledged playback position rather than slider previews. Total duration selects the format: below one minute, `12 / 45 s`; from one minute to below one hour, `05:12 / 42:08 m`; from one hour onward, `01:23 / 02:10 h`. Values truncate to the displayed precision. Set `[ui].compact_title_progress = "percentage"` to append only a whole percentage number (`<title> · 59`, without a percent sign), or `"none"` for title-only display. Percentages truncate and stay within 0–100. Loading, failed, live, unknown-duration and closed media have no progress suffix. Normal-mode titles remain unchanged. diff --git a/Sources/App/TerebiApp.swift b/Sources/App/TerebiApp.swift index 581876b..c575d4e 100644 --- a/Sources/App/TerebiApp.swift +++ b/Sources/App/TerebiApp.swift @@ -1380,6 +1380,7 @@ private struct PlayerContent: View { Spacer(minLength: 12) iconButton(model.isOnTop ? "pin.fill" : "pin", model.isOnTop ? "Stop Keeping Window on Top" : "Keep Window on Top", action: model.toggleOnTop) + .imageScale(.small) .foregroundStyle(Color(model.isOnTop ? SunsetPalette.accent : SunsetPalette.secondaryText)) .disabled(model.isFullScreen || model.compactWindow.isTransitioning) }