Enable free movement of transform cage edge during skew when Ctrl is held (#2358)

* Enable free movement of edge during skew when ctrl is held

Fixes #2299
Follow-up to #2300

* Simplify code

* Change test along the lines of new behaviour

* Make the hint Title Case

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
mTvare
2025-03-06 17:27:02 +05:30
committed by GitHub
parent 6becaef980
commit e9ecdc7e01
3 changed files with 42 additions and 31 deletions

View File

@@ -48,7 +48,7 @@ impl Quad {
[[self.0[0], self.0[1]], [self.0[1], self.0[2]], [self.0[2], self.0[3]], [self.0[3], self.0[0]]]
}
/// Get two edges as orthogonal bases.
/// Get two edges as bases.
pub fn edges(&self) -> [[DVec2; 2]; 2] {
[[self.0[0], self.0[1]], [self.0[1], self.0[2]]]
}