Skip to content

Commit 929dbdb

Browse files
authored
Fix a regression with G/R/S in the Path tool applying to the whole object instead of the selected points (#3164)
unify Shape Tool and Select Tool pivot handling
1 parent 2483832 commit 929dbdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

editor/src/messages/tool/transform_layer/transform_layer_message_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl MessageHandler<TransformLayerMessage, TransformLayerMessageContext<'_>> for
119119
return;
120120
}
121121

122-
if !using_path_tool || !using_shape_tool {
122+
if !using_path_tool {
123123
self.pivot_gizmo.recalculate_transform(document);
124124
*selected.pivot = self.pivot_gizmo.position(document);
125125
self.local_pivot = document.metadata().document_to_viewport.inverse().transform_point2(*selected.pivot);

0 commit comments

Comments
 (0)