From 9954888d1da67d78415571b63cf8afe11efeff61 Mon Sep 17 00:00:00 2001 From: gianlucafiore <50465150+gianlucafiore@users.noreply.github.com> Date: Wed, 14 Oct 2026 10:29:07 -0300 Subject: [PATCH] fix: carry click-time pointer position in viewport input message --- src/app/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/mod.rs b/src/app/mod.rs index 076f2a07b..42248e3e1 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -3181,6 +3181,8 @@ pub enum Message { /// never fall through and rotate a different camera. ViewportClick(Option), ViewportMove(Point), + /// Position recorded by the pointer event itself, not the last hover. + ViewportLeftPressAt(Point), ViewportLeftPress, ViewportLeftRelease, ViewportRightPress,