Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ use crate::waveflow;
pub const APP_ID: &str = "app.waveflow.quickplay";
pub const MAIN_TITLE: &str = "WaveFlow QuickPlay";
pub const PLAYLIST_TITLE: &str = "Playlist · WaveFlow QuickPlay";
/// The name painted in the player's title bar. The logo beside it already
/// says WaveFlow and the about block gives the full name, so the bar keeps
/// the room; the OS title stays [`MAIN_TITLE`], which the playlist uses to
/// find the player.
const BAR_TITLE: &str = "QuickPlay";
/// A playlist that lands within this distance of where the player sent it
/// is our own move arriving, not the user dragging it.
const DOCK_TOLERANCE: f32 = 2.0;
Expand Down Expand Up @@ -1253,7 +1258,7 @@ impl eframe::App for QuickPlayApp {
match widgets::title_bar(
ui,
t,
MAIN_TITLE,
BAR_TITLE,
subtitle.as_deref(),
Some(view.always_on_top),
true,
Expand Down
Loading