mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 07:18:04 +08:00
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:
@@ -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]]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user