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

@@ -34,24 +34,27 @@ export default function ShortcutsModal() {
show={shortcutsShow}
>
<div className="shortcut-options">
<ShortCut content="Enable multi-stroke mask drawing">
<ShortCut content="Enable Multi-Stroke Mask Drawing">
<p>Hold Cmd/Ctrl</p>
</ShortCut>
<ShortCut content="Undo inpainting">
<ShortCut content="Undo Inpainting">
<p>Cmd/Ctrl + Z</p>
</ShortCut>
<ShortCut content="Pan">
<p>Space & Drag</p>
</ShortCut>
<ShortCut content="View original image">
<ShortCut content="View Original Image">
<p>Hold Tab</p>
</ShortCut>
<ShortCut content="Reset zoom/pan">
<ShortCut content="Reset Zoom/Pan">
<p>Esc</p>
</ShortCut>
<ShortCut content="Cancel mask drawing">
<ShortCut content="Cancel Mask Drawing">
<p>Esc</p>
</ShortCut>
<ShortCut content="Run Inpainting Manually">
<p>Shift + R</p>
</ShortCut>
<ShortCut content="Decrease Brush Size">
<p>[</p>
</ShortCut>