From 88e0d98dddd5c6832a22e97f37e282f148b8ebc4 Mon Sep 17 00:00:00 2001 From: KeelrLeek <156356974+KeelrLeek@users.noreply.github.com> Date: Sat, 25 Jul 2026 18:31:43 -0500 Subject: [PATCH] cover logo: bump the cache recipe for the ink-scaled alpha ramp Every persisted mask predates the anti-aliasing the trace path now relies on, so without this bump a cached artist keeps rendering from a near-binary mask while the tracer runs at the lighter blur that assumes real gradients -- the worst of both. The key already hashes the recipe, so old entries simply miss. --- src-tauri/src/commands.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src-tauri/src/commands.rs b/src-tauri/src/commands.rs index a9d4b7e..5b200ab 100644 --- a/src-tauri/src/commands.rs +++ b/src-tauri/src/commands.rs @@ -1542,7 +1542,9 @@ pub async fn catalog_artist_socials( Ok(state.metadata.catalog_artist_socials(artist_id).await) } -const COVER_LOGO_RECIPE: &str = "cover-logo-perf-v3-identity"; +// v4: the alpha ramp now scales to the measured ink distance, so every cached +// mask predates the anti-aliasing this pipeline relies on and must be redrawn. +const COVER_LOGO_RECIPE: &str = "cover-logo-v4-ink-scaled-alpha"; const COVER_LOGO_MAX_COVERS: usize = 14; const COVER_LOGO_MAX_HITS: usize = 5; const COVER_LOGO_LOCATE_WINDOW: usize = 4;