mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 18:58:11 +08:00
Add Path tool support for Ctrl-dragging to pull out zero-length handles with angle locking (#2620)
* implement check-drag and angle-lock * track bool * flip-smooth-sharp * fixed bugs * fixed flip-smooth jump bug and random angle locking bug * ctrl-alt 90 case * aligned flip-smooth sharp and fixed arbitrary handle-length when flipped * code-review change * 0.5 instead of 0.8 --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
54b4ef145c
commit
6e7f218068
@@ -102,6 +102,7 @@ pub const HIDE_HANDLE_DISTANCE: f64 = 3.;
|
||||
pub const HANDLE_ROTATE_SNAP_ANGLE: f64 = 15.;
|
||||
pub const SEGMENT_INSERTION_DISTANCE: f64 = 7.5;
|
||||
pub const SEGMENT_OVERLAY_SIZE: f64 = 10.;
|
||||
pub const HANDLE_LENGTH_FACTOR: f64 = 0.5;
|
||||
|
||||
// PEN TOOL
|
||||
pub const CREATE_CURVE_THRESHOLD: f64 = 5.;
|
||||
|
||||
Reference in New Issue
Block a user