Skip to content

Commit

Permalink
DN-39: Do not distinguish between tools, because this interceptor sho…
Browse files Browse the repository at this point in the history
…uld prevent all geometry operations (move, reshape, transform)
  • Loading branch information
Michel Bröker committed Jun 24, 2024
1 parent 2d2bd53 commit 11dc811
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
export default class ReshapeInterceptor {
interceptEditor(editor) {
editor.viewModel.on("sketch-update", event => {
if (event.detail.tool === "reshape") {
editor.viewModel?.sketchViewModel?.cancel();
}
editor.viewModel?.sketchViewModel?.cancel();
});
}
}

0 comments on commit 11dc811

Please sign in to comment.