You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if input.keyboard.key(select_deepest) || tool_data.nested_selection_behavior == NestedSelectionBehavior::Deepest{
921
923
tool_data.select_single_layer = intersection;
922
924
}else{
@@ -1024,9 +1026,18 @@ impl Fsm for SelectToolFsmState {
1024
1026
1025
1027
let mouse_delta = snap_drag(start, current, tool_data.axis_align, axis, snap_data,&mut tool_data.snap_manager,&tool_data.snap_candidates);
1026
1028
let mouse_delta = match axis {
1027
-
Axis::X => mouse_delta.project_onto(e0),
1028
-
Axis::Y => mouse_delta.project_onto(e0.perp()),
1029
-
Axis::None => mouse_delta,
1029
+
Axis::X => {
1030
+
debug!("The axis is on X!");
1031
+
mouse_delta.project_onto(e0)
1032
+
},
1033
+
Axis::Y => {
1034
+
debug!("The axis is on Y!");
1035
+
mouse_delta.project_onto(e0.perp())
1036
+
},
1037
+
Axis::None => {
1038
+
debug!("The axis is on both X and Y!");
1039
+
mouse_delta
1040
+
},
1030
1041
};
1031
1042
1032
1043
// TODO: Cache the result of `shallowest_unique_layers` to avoid this heavy computation every frame of movement, see https://github.com/GraphiteEditor/Graphite/pull/481
0 commit comments