diff --git a/lama_cleaner/app/src/components/Editor/Editor.tsx b/lama_cleaner/app/src/components/Editor/Editor.tsx index fd8bb20..0d98920 100644 --- a/lama_cleaner/app/src/components/Editor/Editor.tsx +++ b/lama_cleaner/app/src/components/Editor/Editor.tsx @@ -555,6 +555,13 @@ export default function Editor(props: EditorProps) { }) }) + // Manual Inpainting Hotkey + useKeyPressEvent('R', () => { + if (settings.runInpaintingManually && hadDrawSomething()) { + runInpainting() + } + }) + // Toggle clean/zoom tool on spacebar. useKeyPressEvent( ' ', diff --git a/lama_cleaner/app/src/components/Header/Header.tsx b/lama_cleaner/app/src/components/Header/Header.tsx index 8a84e02..58fb600 100644 --- a/lama_cleaner/app/src/components/Header/Header.tsx +++ b/lama_cleaner/app/src/components/Header/Header.tsx @@ -26,15 +26,15 @@ const Header = () => { {resolution === 'desktop' ? 'Start New' : undefined} +
-
- - -
+ {file && ( +
+ + +
+ )}
) diff --git a/lama_cleaner/app/src/components/Shortcuts/ShortcutsModal.tsx b/lama_cleaner/app/src/components/Shortcuts/ShortcutsModal.tsx index 0d2ca94..be160b9 100644 --- a/lama_cleaner/app/src/components/Shortcuts/ShortcutsModal.tsx +++ b/lama_cleaner/app/src/components/Shortcuts/ShortcutsModal.tsx @@ -34,24 +34,27 @@ export default function ShortcutsModal() { show={shortcutsShow} >
- +

Hold Cmd/Ctrl

- +

Cmd/Ctrl + Z

Space & Drag

- +

Hold Tab

- +

Esc

- +

Esc

+ +

Shift + R

+

[

diff --git a/lama_cleaner/app/src/components/shared/Button.scss b/lama_cleaner/app/src/components/shared/Button.scss index 4ef34b6..70b3bdb 100644 --- a/lama_cleaner/app/src/components/shared/Button.scss +++ b/lama_cleaner/app/src/components/shared/Button.scss @@ -2,7 +2,7 @@ display: grid; grid-auto-flow: column; column-gap: 1rem; - border: 1px solid var(--btn-border-color); + // border: 1px solid var(--btn-border-color); color: var(--btn-text-color); font-family: 'WorkSans', sans-serif; width: max-content; diff --git a/lama_cleaner/app/src/styles/_Colors.scss b/lama_cleaner/app/src/styles/_Colors.scss index 6c363bc..679f2c9 100644 --- a/lama_cleaner/app/src/styles/_Colors.scss +++ b/lama_cleaner/app/src/styles/_Colors.scss @@ -15,6 +15,7 @@ // Editor --editor-toolkit-bg: rgba(255, 255, 255, 0.5); + --editor-options-bg: rgb(230, 230, 234); --options-text-color: var(--page-text-color); --editor-size-border-color: var(--border-color); --editor-toolkit-panel-border: 0; diff --git a/lama_cleaner/app/src/styles/_ColorsDark.scss b/lama_cleaner/app/src/styles/_ColorsDark.scss index dcc3af7..e0b454e 100644 --- a/lama_cleaner/app/src/styles/_ColorsDark.scss +++ b/lama_cleaner/app/src/styles/_ColorsDark.scss @@ -12,6 +12,7 @@ // Editor --editor-toolkit-bg: rgba(0, 0, 0, 0.5); + --editor-options-bg: rgb(33, 33, 33); --options-text-color: var(--page-text-color); --editor-size-border-color: var(--yellow-accent); --editor-toolkit-panel-border: 1px solid rgb(100, 100, 120, 0.4);