Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Revert "Disable rotation globally"
This reverts commit 2273623.
  • Loading branch information
iamllama committed May 7, 2025
commit 6d767c4fffeedd9efead08029465138ac880eba7
2 changes: 0 additions & 2 deletions ts/routes/image-occlusion/mask-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ function initCanvas(): fabric.Canvas {
// Disable uniform scaling
canvas.uniformScaling = false;
canvas.uniScaleKey = "none";
// disable rotation globally
delete fabric.Object.prototype.controls.mtr;
// disable object caching
fabric.Object.prototype.objectCaching = false;
// add a border to corner to handle blend of control
Expand Down