Improve grab/rotate/scale handling of pan/tilt/zoom (#2285)

* Fix P and G

* Fix (R, S) x (P, Z)

* Fix (G, Z)

* Fix R overlays

* Fix S overlays

* Fix (G, T)

* Fix last 2 fixes

* Fix mouse issues

* Cleanup

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
mTvare
2025-02-16 10:58:58 +00:00
committed by GitHub
co-authored by Keavon Chambers
parent 4fe3462af5
commit 687744d999
5 changed files with 187 additions and 67 deletions
@@ -6,6 +6,7 @@ use glam::DVec2;
use std::collections::VecDeque;
// Origin is top left
pub type DocumentPosition = DVec2;
pub type ViewportPosition = DVec2;
pub type EditorPosition = DVec2;