32 Commits

Author SHA1 Message Date
psychedelicious
d4280bbaaa Adds auto-scaling for inpaint size 2022-11-27 03:35:49 +13:00
psychedelicious
62ac725ba9 Adds brush color alpha hotkey 2022-11-27 03:35:49 +13:00
psychedelicious
9f1c1cf2e6 Adds color picker 2022-11-27 03:35:49 +13:00
blessedcoolant
93de78b6e8 Highlight mask icon when on mask layer 2022-11-27 03:35:49 +13:00
psychedelicious
e821b97cfc Linting 2022-11-27 03:35:49 +13:00
psychedelicious
b0810e1ed7 Adds IAIAlertDialog component 2022-11-27 03:35:49 +13:00
psychedelicious
3e22160462 Updates mask options popover behavior 2022-11-27 03:35:49 +13:00
psychedelicious
6a3d725dbb Adds clear temp folder 2022-11-27 03:35:49 +13:00
psychedelicious
8a16c8a196 Crop to Bounding Box > Save Box Region Only 2022-11-27 03:35:49 +13:00
psychedelicious
90eaac5134 Masking option tweaks 2022-11-27 03:35:49 +13:00
psychedelicious
896c2532c7 Adds option to crop to bounding box on save 2022-11-27 03:35:49 +13:00
blessedcoolant
f68702520b Update Layer hotkey display to UI 2022-11-27 03:35:49 +13:00
blessedcoolant
088fd97418 Rearrange some canvas toolbar icons
Put brush stuff together and canvas movement stuff together
2022-11-27 03:35:49 +13:00
psychedelicious
7dff8ccd31 Styles buttons for clearing canvas history and mask 2022-11-27 03:35:49 +13:00
psychedelicious
6c33d1356d Removes unused imports 2022-11-27 03:35:49 +13:00
psychedelicious
0f6856b719 Fixes canvas toolbar upload button 2022-11-27 03:35:49 +13:00
psychedelicious
83d8e69219 Reworks canvas toolbar 2022-11-27 03:35:49 +13:00
blessedcoolant
cde395e02f Hotkey Cleanup
- Viewer is now Z
- Canvas Move tool is V - sync with PS
- Removed some unused hotkeys
2022-11-27 03:35:49 +13:00
psychedelicious
37a356d377 Improves canvas status text and adds option to toggle debug info 2022-11-27 03:35:49 +13:00
psychedelicious
2ab868314f Reorganises app file structure 2022-11-27 03:35:49 +13:00
psychedelicious
bc46c46835 Refactors upload-related async thunks
- Now standard thunks instead of RTK createAsyncThunk()
- Adds toasts for all canvas upload-related actions
2022-11-27 03:35:49 +13:00
blessedcoolant
2bda3d6d2f Unify Brush and Eraser Sizes 2022-11-27 03:35:49 +13:00
blessedcoolant
024acf42af Update Hotkey Info
Add missing tooltip hotkeys and update the hotkeys modal to reflect the new hotkeys for the Unified Canvas.
2022-11-27 03:35:49 +13:00
psychedelicious
c69573e65d Disables canvas actions which cannot be done during processing 2022-11-27 03:35:49 +13:00
psychedelicious
84f702b6d0 Resets bounding box coords/dims when no image present 2022-11-27 03:35:49 +13:00
psychedelicious
bb70c32ad5 Improves behaviour when setting init canvas image/reset view 2022-11-27 03:35:49 +13:00
psychedelicious
07ca0876ec Updates hotkeys 2022-11-27 03:35:49 +13:00
psychedelicious
aa96a457b6 Adds hotkeys and refactors sharing of konva instances
Adds hotkeys to canvas. As part of this change, the access to konva instance objects was refactored:

Previously closure'd refs were used to indirectly get access to the konva instances outside of react components.

Now, a  getter and setter function are used to provide access directly to the konva objects.
2022-11-27 03:35:49 +13:00
psychedelicious
19322fc1ec Fixes save to gallery including empty area, adds download and copy image 2022-11-27 03:35:49 +13:00
psychedelicious
635e7da05d Abandons "inpainting" canvas lock 2022-11-27 03:35:49 +13:00
psychedelicious
1d540219fa Fixes bounding box ending up offscreen 2022-11-27 03:35:49 +13:00
psychedelicious
827f516baf Organises features/canvas 2022-11-27 03:35:49 +13:00