Open capture configuration from the layer context menu

This commit is contained in:
Dandaedre 2026-11-15 11:48:58 +01:00
parent c87bc0de91
commit c12bdf22db
4 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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**.