Skip to content

Commit dafbc5c

Browse files
Ayush2k02TrueDoctor
authored andcommitted
reduce tolerance to 1e-6
1 parent 46c9ea3 commit dafbc5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/src/messages/tool/tool_messages/path_tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@ impl Fsm for PathToolFsmState {
26812681
};
26822682

26832683
// Find points by their positions (with small tolerance for floating point comparison)
2684-
const POSITION_TOLERANCE: f64 = 0.01;
2684+
const POSITION_TOLERANCE: f64 = 1e-6;
26852685

26862686
let positions = vector.point_domain.positions();
26872687
let point_ids = vector.point_domain.ids();

0 commit comments

Comments
 (0)