fix: improve asset editor exit handling (#25917)

This commit is contained in:
Michel Heusschen
2026-02-05 12:01:54 +01:00
committed by GitHub
parent 732303661b
commit fdf06a91cc
5 changed files with 54 additions and 4 deletions
@@ -223,6 +223,10 @@ class TransformManager implements EditToolManager {
this.dragOffset = { x: 0, y: 0 };
this.resizeSide = '';
this.imgElement = null;
if (this.cropAreaEl) {
this.cropAreaEl.style.cursor = '';
}
document.body.style.cursor = '';
this.cropAreaEl = null;
this.isDragging = false;
this.overlayEl = null;