mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: gate eraser canvas on previewLoading for exotic formats
This commit is contained in:
@@ -494,7 +494,13 @@ export function ToolPage() {
|
||||
);
|
||||
}
|
||||
|
||||
if (displayMode === "interactive-eraser" && hasFile && !hasProcessed && originalBlobUrl) {
|
||||
if (
|
||||
displayMode === "interactive-eraser" &&
|
||||
hasFile &&
|
||||
!hasProcessed &&
|
||||
originalBlobUrl &&
|
||||
!currentEntry?.previewLoading
|
||||
) {
|
||||
return (
|
||||
<EraserCanvas
|
||||
ref={eraserRef}
|
||||
|
||||
Reference in New Issue
Block a user