From 8b2ec1f1fca2e6d3a647877be85896d8f14192ae Mon Sep 17 00:00:00 2001 From: aiongg Date: Mon, 16 Nov 2026 21:41:11 +0000 Subject: [PATCH] Vanishing Point: a written paste position or width reports a Paste event, as planes and strokes do --- crates/imaging/src/ui/vanishing_point/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/imaging/src/ui/vanishing_point/mod.rs b/crates/imaging/src/ui/vanishing_point/mod.rs index b842de770..54b75e361 100644 --- a/crates/imaging/src/ui/vanishing_point/mod.rs +++ b/crates/imaging/src/ui/vanishing_point/mod.rs @@ -315,6 +315,9 @@ impl VanishingPointWorkspace { let now = PlaneEdit::new(self.session.planes.clone(), self.session.torn.clone()); events.push(VanishingPointEvent::Planes(EditEvent::set(Mixed::Same(was), now, label.clone(), None))); } + if before.paste != self.session.paste { + events.push(VanishingPointEvent::Paste(EditEvent::set(Mixed::Same(before.paste), self.session.paste, label.clone(), None))); + } if before.strokes != self.session.strokes { // A stroke is the event's value: the last one, or the last one emptied when the write cleared them. let was = before.strokes.last().cloned();