Remove inspector clipboard buttons

This commit is contained in:
Dandaedre 2026-11-19 15:34:54 +01:00
parent 3a0592d093
commit a15bf92d7f
4 changed files with 9 additions and 16 deletions

2
Cargo.lock generated
View File

@ -602,7 +602,7 @@ dependencies = [
[[package]]
name = "canvas-pilot"
version = "0.10.7"
version = "0.10.8"
dependencies = [
"base64 0.22.1",
"craft-dwg",

View File

@ -4,7 +4,7 @@ default-members = ["crates/canvas-pilot"]
resolver = "3"
[workspace.package]
version = "0.10.7"
version = "0.10.8"
edition = "2024"
license = "MIT"
repository = "https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot"

View File

@ -1628,7 +1628,7 @@ impl Editor {
- input_reference_rows as f32 * (44.0 - capture_ui::INPUT_REFERENCE_ROW_HEIGHT);
let details_height = match self.layout.selected_indices().len() {
0 => 220.0,
1 => 927.0,
1 => 823.0,
_ => 1071.0,
};
let palette = theme::palette(ui.ctx());
@ -2169,17 +2169,9 @@ impl Editor {
12.0,
palette.muted,
);
ink.button(0.0, 695.0, w, "Copy layer values", true);
if click(ui, &ink, [0.0, 695.0, w, 34.0], "copy-values") {
self.copy(ui.ctx());
}
ink.button(0.0, 744.0, w, "Paste layer(s) values", false);
if click(ui, &ink, [0.0, 744.0, w, 34.0], "paste-button") {
self.open_paste(String::new());
}
ink.text(
0.0,
799.0,
695.0,
&tr(
ink.painter.ctx(),
"ui.or-ctrl-cmd-v-with-the-viewport-focused",
@ -2732,10 +2724,6 @@ impl Editor {
palette.text,
);
}
ink.button(0.0, 552.0, w, "Copy selected layer values", true);
if click(ui, ink, [0.0, 552.0, w, 34.0], "copy-selected") {
self.copy(ui.ctx());
}
ink.text(
0.0,
609.0,

View File

@ -4,6 +4,11 @@
## Unreleased
### v0.10.8
- Remove inspector Copy/Paste buttons, including the multi-selection Copy button,
while retaining clipboard shortcuts and context-menu actions.
### v0.10.7
- Pre-map geometry imports by exact included-item count: selected layers, their