mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 11:38:11 +08:00
Fix transform cage bug where aborted resize/rotate after drag is used for next resize/rotate (#2308)
* Fix the said issues * Replace numbers with consts --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
cf2a071fb9
commit
0004bbb14b
@@ -73,6 +73,7 @@ pub const ANGLE_MEASURE_RADIUS_FACTOR: f64 = 0.04;
|
||||
pub const ARC_MEASURE_RADIUS_FACTOR_RANGE: (f64, f64) = (0.05, 0.15);
|
||||
|
||||
// TRANSFORM CAGE
|
||||
pub const RESIZE_HANDLE_SIZE: f64 = 6.;
|
||||
pub const BOUNDS_SELECT_THRESHOLD: f64 = 10.;
|
||||
pub const BOUNDS_ROTATE_THRESHOLD: f64 = 20.;
|
||||
pub const MIN_LENGTH_FOR_MIDPOINT_VISIBILITY: f64 = 20.;
|
||||
|
||||
Reference in New Issue
Block a user