Commit graph

34 commits

Author SHA1 Message Date
tim h
545c02b0db autolayers for stamps too
this has confirmed a layers bug that i'm too stupid to ... debug but i'll sure try to make an issue for it
2023-01-27 22:58:15 -06:00
Victor Seiji Hariki
51095160f1 fix scaled rotate handle
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 23:41:01 -03:00
Victor Seiji Hariki
e198cf9af4 allow stamp rotation(drag) and scaling(wheel)
also adds shift as a 'finetune' for wheel. works for dream and stamp. if
shift is pressed, wheel will scale slower (not snapping to 128 for
dream, or 0.1 for stamp)

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 23:00:34 -03:00
Victor Seiji Hariki
b186ef4c22 some space-saving measures for checkboxes
Some eye-candy as well

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-02 21:12:18 -03:00
seijihariki
953aed236e Prettified Code! 2022-12-24 01:19:11 +00:00
Victor Seiji Hariki
92ab54282d fix addselection starting selection
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-23 22:18:37 -03:00
Victor Seiji Hariki
42967f0a9a make cursors less finicky
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-21 18:29:11 -03:00
Victor Seiji Hariki
35d5868854 make stamp redraw on zoom
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-20 23:43:29 -03:00
Victor Seiji Hariki
94de86a971 webui set prompt and stamp uictx cursor
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-20 23:26:52 -03:00
tim h
7cf9e468d5 fixes synced resolution changing undesirably with some tools on scrollwheel 2022-12-18 20:35:48 -06:00
tim h
f0aaf51389 css/js resource changes for extension 2022-12-18 17:50:40 -06:00
Victor Seiji Hariki
ea68e25cf0 canvas scaling?
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 00:21:28 -03:00
Victor Seiji Hariki
b71731b7ca stamp now uses indexed DB for resources
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 10:03:05 -03:00
Victor Seiji Hariki
f279c8457b dream queueing now supported
- Image navigation shortcuts work for all simultaneously (probably not
   optimal)

This is for #89. Some things should be ironed out, such as adding a
cancel button for future jobs and an order indicator maybe?

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 00:55:54 -03:00
Victor Seiji Hariki
d65f3185c4 resource now use dblclick to rename; download
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-11 20:54:38 -03:00
Victor Seiji Hariki
3c0eed68ce fix slider strange behavior when mouse left
also added / to all res references

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 13:32:33 -03:00
Victor Seiji Hariki
14df643326 layers?
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 16:22:35 -03:00
Victor Seiji Hariki
559f4493ca rename button (resources) also stops evn propag
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 08:31:43 -03:00
Victor Seiji Hariki
e1c684eaef fix resource manager persistence
persistence only worked once per image due to lack of wait load in image
loading from storage

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 22:59:16 -03:00
Victor Seiji Hariki
249e83ed07 fix resource saving for uploaded resources
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 13:08:29 -03:00
Victor Seiji Hariki
464ab31431 fix delete button selects the item too
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 11:07:25 -03:00
Victor Seiji Hariki
993381a123 resources are now persistent between sessions
we should add a settings page to allow people to customize what they
want to save and other things

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 10:48:05 -03:00
Victor Seiji Hariki
59e783d159 no more scale factor, support for dream cursor size
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 10:05:14 -03:00
Victor Seiji Hariki
ac70691cff
little things
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-02 14:31:49 -03:00
Victor Seiji Hariki
ba69013b3d
fix copy-paste issues
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-02 07:23:07 -03:00
Victor Seiji Hariki
e5597889f2 Add shortcuts for image choosing/fix cursor
Add some shortcuts to dream image selection and fix strange cursor
behavior on resource add from dream. (l/r arrow keys for navigation,
enter for image select; esc for reject)

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 23:48:07 -03:00
Victor Seiji Hariki
44cf9c0e70 Layers.
Been working on this when I could the last few days.
Not quite infinity. Middle mouse button drag, ctrl mouse wheel zoom.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 17:55:25 -03:00
Victor Seiji Hariki
83470ebba3 input.js types and move type definitions
Moved type definitions to .d.js files to avoid clutter and network
overhead. Added typing to input.js, but still no event typing

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 19:48:42 -03:00
Victor Seiji Hariki
9c0f6df20b fixes console error on send to resource
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 16:45:37 -03:00
Victor Seiji Hariki
72ebe5ba21
some fixes and comments
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
(cherry picked from commit 6299b561f196a7c78c66a8d21b2e1b27cecdee77)
2022-11-25 19:23:22 -03:00
Victor Seiji Hariki
df5dc32eee Some quick lunch patches
Allows for selections and dreams to be sent to the resource manager,
allows resource deselection when clicking on the currently selected
item, put some extra comments and allow saving of a selected canvas area

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 963312115d4827de1c8d4fac88a97dd64db7fa15
2022-11-25 13:16:22 -03:00
Victor Seiji Hariki
db73982df2 some general fixes
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 4434e218c4f67ac3c63c3a5b645013588a7ce770
2022-11-25 01:46:49 -03:00
Victor Seiji Hariki
97f3a54644 Make pasting lock the toolbar
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 4b236153eb7b61af5d7ec8703069709aeea684a3
2022-11-25 00:55:16 -03:00
Victor Seiji Hariki
70d1fda23d a big commit with the selection and stamping tools
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: b3f849f3fdb334916f1a4ee6c81ac6bdf42a8f52
2022-11-25 00:34:34 -03:00