From fb6ff02d5af167437408284542ccc4cbd13c2200 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Tue, 17 Nov 2026 18:34:40 +0100 Subject: [PATCH] Compact theme and language choices by removing secondary labels --- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/canvas-pilot/src/preferences_ui.rs | 8 -------- docs/canvas-pilot/changelog.md | 6 ++++++ 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9df71de..8f00032 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -548,7 +548,7 @@ dependencies = [ [[package]] name = "canvas-pilot" -version = "0.9.38" +version = "0.9.39" dependencies = [ "base64", "craft-dwg", diff --git a/Cargo.toml b/Cargo.toml index 86172d4..d51a114 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ default-members = ["crates/canvas-pilot"] resolver = "3" [workspace.package] -version = "0.9.38" +version = "0.9.39" edition = "2024" license = "MIT" repository = "https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot" diff --git a/crates/canvas-pilot/src/preferences_ui.rs b/crates/canvas-pilot/src/preferences_ui.rs index ea79f8b..b6c6216 100644 --- a/crates/canvas-pilot/src/preferences_ui.rs +++ b/crates/canvas-pilot/src/preferences_ui.rs @@ -261,7 +261,6 @@ impl Editor { { self.preview_language(&ctx, choice); } - ui.weak(&language.locale); } }); }); @@ -375,13 +374,6 @@ impl Editor { choice.select(&ctx); } }); - ui.weak(if choice == theme::Theme::current(&ctx) { - "In use" - } else if entry.light { - "Light" - } else { - "Dark" - }); } if !pack.notices.is_empty() { egui::CollapsingHeader::new("Attribution and licenses") diff --git a/docs/canvas-pilot/changelog.md b/docs/canvas-pilot/changelog.md index 1884c9d..e070118 100644 --- a/docs/canvas-pilot/changelog.md +++ b/docs/canvas-pilot/changelog.md @@ -4,6 +4,12 @@ ## Unreleased +### v0.9.39 + +- Removed the secondary Dark/Light/In use lines from theme choices and locale-code + lines from language choices in installed packs, leaving compact named buttons + with theme swatches and selected-state highlighting. + ### v0.9.38 - Keep resize, crop and mask handles visible above overlapping layers. Covered