diff --git a/crates/ui-egui/src/panels/actions.rs b/crates/ui-egui/src/panels/actions.rs index 8c411f732f..5a6274a796 100644 --- a/crates/ui-egui/src/panels/actions.rs +++ b/crates/ui-egui/src/panels/actions.rs @@ -1774,11 +1774,11 @@ fn delete_row(app: &mut PhotocraftApp, action: usize, step: Option) -> bo true } -/// Outline a footer button a dragged row would be dropped on. +/// Outline a footer button a dragged row would be dropped on (an outline only, so the icon +/// stays visible). fn drop_target_highlight(ui: &egui::Ui, response: &egui::Response, active: bool, t: &Tokens) { if active && response.contains_pointer() { - ui.painter().rect_filled(response.rect, t.radius_sm, t.hover); - ui.painter().rect_stroke(response.rect, t.radius_sm, Stroke::new(1.0, t.accent), egui::StrokeKind::Inside); + ui.painter().rect_stroke(response.rect, t.radius_sm, Stroke::new(1.5, t.accent), egui::StrokeKind::Inside); } } diff --git a/docs/control-protocol.md b/docs/control-protocol.md index 7ebf31bbe9..230554b536 100644 --- a/docs/control-protocol.md +++ b/docs/control-protocol.md @@ -176,6 +176,7 @@ heading instead targets the whole action. Step deletion also works during record and does not undo the document edit. The control equivalent is `actions.delete {"action": "Name", "step": 0}` (zero-based). Omitting `step` deletes the whole action, which still requires recording to be stopped. +A step or action row dragged onto the trash is deleted without a confirmation, and one dragged onto the plus button is duplicated right after itself (`actions.duplicate`), as in Photoshop. Desktop actions also record and replay View › Fit on Screen (`view.fitOnScreen`), 100% (`view.actualPixels`), Zoom In and Zoom Out through their menu commands or shortcuts.