mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 04:38:12 +08:00
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:
co-authored by
Keavon Chambers
parent
4fe3462af5
commit
687744d999
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user