diff --git a/lama_cleaner/app/src/Editor.tsx b/lama_cleaner/app/src/Editor.tsx
index ce937eb..6817cd5 100644
--- a/lama_cleaner/app/src/Editor.tsx
+++ b/lama_cleaner/app/src/Editor.tsx
@@ -418,53 +418,53 @@ export default function Editor(props: EditorProps) {
value={brushSize}
onChange={setBrushSize}
/>
- {renders.length ? (
- <>
-
- >
- ) : (
- <>>
- )}
+
+
+
+
+ }
+ onClick={undo}
+ disabled={renders.length === 0}
+ />
+ }
+ onDown={ev => {
+ ev.preventDefault()
+ setShowSeparator(true)
+ setShowOriginal(true)
+ }}
+ onUp={() => {
+ setShowOriginal(false)
+ setTimeout(() => setShowSeparator(false), 300)
+ }}
+ disabled={renders.length === 0}
+ >
+ {undefined}
+
-
}
- disabled={!renders.length}
- onClick={download}
- >
- {windowSize.width > 640 ? 'Download' : undefined}
-
+
}
+ disabled={!renders.length}
+ onClick={download}
+ >
+ {undefined}
+
+
)