Skip to content

Commit ac7bbf9

Browse files
committed
Fix incorrect order of multiplication
1 parent 353d2ff commit ac7bbf9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,8 @@ impl Fsm for SelectToolFsmState {
537537
{
538538
// TODO: Figure out and fix why this incorrectly applies the rotation twice if it's a leaf layer (VectorData, ImageFrame, etc. rather than a group)
539539
let transform_node_transformation = transform_utils::get_current_transform(node.inputs.as_slice());
540-
return transform_node_transformation * transform;
540+
info!("Transform node {transform_node_transformation} parent {transform}");
541+
return transform * transform_node_transformation;
541542
};
542543

543544
transform

0 commit comments

Comments
 (0)