From 94b1053823b80f52566a5025ce25858c06f2555b Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Sat, 14 Nov 2026 16:46:19 +0100 Subject: [PATCH] Remove redundant header copy coordinates button --- crates/midra-layout/src/gui.rs | 17 +++++++---------- docs/midralayout/changelog.md | 2 ++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/crates/midra-layout/src/gui.rs b/crates/midra-layout/src/gui.rs index 3cde6de..a619647 100644 --- a/crates/midra-layout/src/gui.rs +++ b/crates/midra-layout/src/gui.rs @@ -3249,16 +3249,13 @@ impl Editor { ink.text(24.0, 11.0, "MIDRA / LAYOUT", 18.0, palette.text); ink.line([206.0, 13.0], [206.0, 31.0], palette.line); ink.text(222.0, 15.0, "Layer positioning helper", 13.0, palette.muted); - ink.text(r.width() - 347.0, 15.0, "EIKOS 4K", 12.0, palette.cyan); - ink.button(r.width() - 212.0, 5.0, 188.0, "Copy coordinates", false); - if click( - ui, - &ink, - [r.width() - 212.0, 5.0, 188.0, 34.0], - "header-copy", - ) { - self.copy(ctx); - } + ink.painter.text( + ink.point(r.width() - 24.0, 22.0), + egui::Align2::RIGHT_CENTER, + "EIKOS 4K", + egui::FontId::proportional(12.0), + palette.cyan, + ); }); egui::TopBottomPanel::bottom("status") .exact_height(34.0) diff --git a/docs/midralayout/changelog.md b/docs/midralayout/changelog.md index 8075403..50346f6 100644 --- a/docs/midralayout/changelog.md +++ b/docs/midralayout/changelog.md @@ -4,6 +4,8 @@ ## Unreleased +- Remove the redundant Copy coordinates button from the title header and right-align the device label. Existing copy commands remain available. + - Move Menu from the title header to the toolbar immediately before Project, within the same wrapping group. - Place Load before Send in the status bar.