Remove snap rotate from layerdata (#435)

This commit is contained in:
0HyperCube
2021-12-28 18:30:41 +01:00
committed by GitHub
parent 573468db7d
commit 9ee95d4c57
3 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ impl DocumentMessageHandler {
snapping_enabled: true,
view_mode: ViewMode::default(),
};
document.graphene_document.root.transform = document.layerdata(&[]).calculate_offset_transform(ipp.viewport_bounds.size() / 2.);
document.graphene_document.root.transform = document.layerdata(&[]).calculate_offset_transform(ipp.viewport_bounds.size() / 2., 0.);
document
}