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:
@@ -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(
|
||||
' ',
|
||||
|
||||
Reference in New Issue
Block a user