minor patch

- Added hotkey for manual inpaint: Shift +  R (Updated the hotkey list to display this)
- Moved Settings icon in the header to the end which is consistent with how most programs do it.
- Fixed some missing useEffect dependencies.
- Made the formatting of the Shorcut description text consistent.
- Removed the borders around the bottom toolkit buttons. The 1px border was choppy and the entire region was looking boxed and cluttered. Now I feel it looks cleaner and is consistent with the button in the header.
This commit is contained in:
blessedcoolant
2022-05-03 23:47:03 +12:00
committed by Sanster
parent a297a6d3d0
commit 92900933e5
6 changed files with 25 additions and 13 deletions

View File

@@ -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(
' ',