diff --git a/lama_cleaner/app/src/components/Editor/Editor.tsx b/lama_cleaner/app/src/components/Editor/Editor.tsx index 780e84a..47ae0f5 100644 --- a/lama_cleaner/app/src/components/Editor/Editor.tsx +++ b/lama_cleaner/app/src/components/Editor/Editor.tsx @@ -972,7 +972,7 @@ export default function Editor() { style={{ cursor: getCursor(), clipPath: `inset(0 ${sliderPos}% 0 0)`, - transition: 'clip-path 350ms ease-in-out', + transition: 'clip-path 300ms cubic-bezier(0.4, 0, 0.2, 1)', }} onContextMenu={e => { e.preventDefault() @@ -1143,7 +1143,7 @@ export default function Editor() { setSliderPos(0) window.setTimeout(() => { setShowOriginal(false) - }, 350) + }, 300) }} disabled={renders.length === 0} />