Commit graph

231 commits

Author SHA1 Message Date
Victor Seiji Hariki
ef09e357d4 remove console log
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-29 02:54:41 -03:00
Victor Seiji Hariki
794ddcc275 fix #185 janky layer things
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-29 02:52:31 -03:00
tim h
8eef3392ed Merge branch 'main' into manual-scripts
# Conflicts:
#	index.html
#	js/ui/tool/dream.js
2023-01-28 09:47:41 -06:00
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
tim h
03b40a3f47 a few more commandLog values for dreams 2023-01-27 22:15:51 -06:00
tim h
464da36e2a unrelated to scripts but kinda neato autolayers option 2023-01-27 20:00:48 -06:00
Victor Seiji Hariki
c4ef6ccce4 Workspaces now fully functional (using indexedDB)
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-27 01:40:27 -03:00
Victor Seiji Hariki
d42837d597 Merge branch 'main' into workspaces
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-24 23:54:30 -03:00
Victor Seiji Hariki
f064719515 add some logging for #133
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-24 23:48:09 -03:00
Victor Seiji Hariki
af5b9b9680 Add history logging
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-24 23:37:38 -03:00
tim h
06f4e82347 Merge branch 'main' into manual-scripts
# Conflicts:
#	index.html
2023-01-23 21:36:50 -06:00
tim h
da317229c0 some silly default values for a few built-in scripts 2023-01-22 13:29:24 -06:00
Victor Seiji Hariki
fc8e6fb557 Quick fix for zoom to cursor and brush erase blur
Quick fix to some issues pointed out by @raivshard at #177

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-22 09:18:47 -03:00
Victor Seiji Hariki
006aa608e8 we have working workspaces!!
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-22 02:48:56 -03:00
Victor Seiji Hariki
13e29898a3 fix param type issue
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-21 13:06:21 -03:00
Victor Seiji Hariki
e92d8fa9b6 fixes #179
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-21 10:18:55 -03:00
tim h
6889affcad even better single image discard handling
sorry for pushing to main but these are tiny and don't deserve PRs lol
2023-01-20 19:33:42 -06:00
tim h
025d50a10e got it passing scripts and params but wtf is it bitching about with
x_opt = axis_options[x_type]
TypeError: list indices must be integers or slices, not str
2023-01-20 18:53:16 -06:00
tim h
b52e3dc2ba better single-image removal handling 2023-01-20 16:19:01 -06:00
Victor Seiji Hariki
9064a006d5 add send image to parent interface
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-17 00:03:43 -03:00
Victor Seiji Hariki
874e39de4b add Ctrl+A and Ctrl+Shift+A shortcuts to select
selects all layer content and all visible (still only on current layer)

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-16 23:21:16 -03:00
Victor Seiji Hariki
4596d4cc8d fixes #174
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-16 20:54:46 -03:00
Victor Seiji Hariki
c30314b2ac remove now irrelevant TODO
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-14 18:46:01 -03:00
tim h
4f73aba5c2 lmao you are really making me feel guilty about not merging your version ;) 2023-01-14 09:47:50 -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
c4d6826369 Merge branch 'main' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 21:51:25 -03:00
Victor Seiji Hariki
d764221d63 support select tool rotation
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 21:49:06 -03:00
Victor Seiji Hariki
5078265d14 fix select click
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 20:32:53 -03:00
Victor Seiji Hariki
e2afee3432 fix send to buttons
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:04:59 -03:00
Victor Seiji Hariki
9186d2a387 Merge branch 'testing' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:03:07 -03:00
Victor Seiji Hariki
35a62ae9fe back to original transform tool state
But way more flexible implementation

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:00:06 -03:00
Victor Seiji Hariki
d7e20f87dc putting back selection 1
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-11 00:36:14 -03:00
tim h
16c2b36c1b ...also implements 164 quite similarly 2023-01-10 17:00:45 -06:00
Victor Seiji Hariki
487f3bed0c implements #164
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 14:30:09 -03:00
Victor Seiji Hariki
8d88ca6632 Merge branch 'transform-vp' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:08:48 -03:00
Victor Seiji Hariki
857cb29c12 migrates vp to DOMMatrix implementation
breaks select, but it was broken anyway.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:03:28 -03:00
tim h
40c69d7dd6 tiny fix to prevent generate-ahead from freaking out with alerts if something goes wrong 2023-01-08 16:44:46 -06:00
Victor Seiji Hariki
b056f81155 test
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-08 18:21:08 -03:00
Victor Seiji Hariki
2c9eea4ce6 rotation working, broke scale
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-08 01:54:37 -03:00
tim h
16ad7a550d think this was out-of-order and causing math problems with resolutions but i could be an idiot 2023-01-06 12:49:15 -06:00
tim h
bb815d62f9 option to enforce square firstpass aspect ratio 2023-01-05 17:42:50 -06:00
tim h
b45ce1aeba WIP - parity with square vs non- in/output HRfix res 2023-01-04 23:27:02 -06:00
tim h
3c596e6a4c experimental? newer hrfix stuff 2023-01-04 20:00:51 -06:00
Victor Seiji Hariki
bbce97d48d I guess this does not do much, but precautions
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:37:21 -03:00
Victor Seiji Hariki
ad66f0ec29 add some hrfix compatibility with old version
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:00:17 -03:00
Victor Seiji Hariki
941d44b365 Allow extra information in history
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 18:33:29 -03:00
seijihariki
82ca6269d2 Prettified Code! 2023-01-04 21:14:52 +00:00
Vladimir Mandic
31dc797583
remove debug console message 2023-01-04 16:07:16 -05:00
Vladimir Mandic
9ab0991f4d
fix leave-page alert 2023-01-04 13:33:27 -05:00