diff --git a/crates/midra-layout/src/gui.rs b/crates/midra-layout/src/gui.rs index 028b2af..c4402e9 100644 --- a/crates/midra-layout/src/gui.rs +++ b/crates/midra-layout/src/gui.rs @@ -1882,7 +1882,7 @@ impl Editor { ("Layer properties…", PropertyTab::Layer), ("Crop properties…", PropertyTab::Crop), ("Mapping properties…", PropertyTab::Mapping), - ("Preview properties…", PropertyTab::Preview), + ("Configure capture…", PropertyTab::Preview), ] { if ui.button(title).clicked() { if self.format_draft.as_ref().is_none_or(|d| !d.is_for(i)) { @@ -1907,9 +1907,6 @@ impl Editor { self.edit_content = !self.edit_content; ui.close_menu(); } - ui.menu_button("Input preview & crop guides", |ui| { - self.crop_preview_controls(ui, i) - }); if ui.button("Reset crop").clicked() { match self .layout diff --git a/docs/midra-layout/changelog.md b/docs/midra-layout/changelog.md index 970f4eb..a72ccca 100644 --- a/docs/midra-layout/changelog.md +++ b/docs/midra-layout/changelog.md @@ -4,6 +4,8 @@ ## Unreleased +- Replace the nested input-preview context submenu with Configure capture…, opening the layer properties Preview tab directly. Keep long input lists in the window instead of nested popups that can close while selecting near the canvas edge. + - Group Load and Send mapped layers on the final row of Midra mapping & transfer, with vector down/up arrows and direction tooltips. Keep send preparation separate from the explicit Send click and retain scope-aware loading. - Round fractional device-reported content dimensions to whole pixels for centered crop import/readback and send compatibility, with nonblocking before/after warnings. Preserve raw state and fractional box geometry; invalid ranges and genuine source mismatches still fail. Regression tests cover cropped import, warning behavior, both send sizing strategies and invalid ranges. diff --git a/docs/midra-layout/guide/device.md b/docs/midra-layout/guide/device.md index 8f8b786..08bf9ae 100644 --- a/docs/midra-layout/guide/device.md +++ b/docs/midra-layout/guide/device.md @@ -88,8 +88,7 @@ status reflects the last successful read, not continuous polling. ## Capture an input still from Midra -For a layer, open **Layer properties → Preview** (or right-click → **Input preview -& crop guides**): +For a layer, open **Layer properties → Preview** (or right-click → **Configure capture…**): 1. Check **Enable input preview**. 2. Choose the physical input to preview. Inputs without signal are hidden by diff --git a/docs/midra-layout/guide/editing.md b/docs/midra-layout/guide/editing.md index b79d93c..d4a306a 100644 --- a/docs/midra-layout/guide/editing.md +++ b/docs/midra-layout/guide/editing.md @@ -63,7 +63,7 @@ not affect device links or source assignments. All document edits support Undo. offsets are not copied. Crop zoom is included separately as a percentage and can be toggled on paste. This is not a native WebRCS clipboard payload. -Right-click a layer for **Source properties**, **Layer properties**, **Crop properties**, **Preview properties**, +Right-click a layer for **Source properties**, **Layer properties**, **Crop properties**, **Configure capture**, **Adjust layer crop**, alignment, **Copy layer values**, **Paste layer values**, and lock/hide actions. Paste reads the clipboard and opens the existing value/mapping review before applying changes. Right-clicking a layer already in a selection keeps the whole selection and offers **Resize together**.