Commit graph

451 commits

Author SHA1 Message Date
tim h
6810dd9c3a ugly hack to allow for functional "none" style 2022-12-02 16:43:24 -06:00
tim h
a9b0afe23b Merge branch 'bleeding-edge' of github.com:zero01101/openOutpaint into bleeding-edge 2022-12-02 16:24:09 -06:00
tim h
60b81031fa tiny thing ;) 2022-12-02 16:23:55 -06:00
Victor Seiji Hariki
e4340835ba
tiny
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-02 15:42:09 -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
1260537da2
fix slider rendering
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-02 07:31:55 -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
tim h
2e668b4a16 more tiny QOL things
upscaler select no longer escapes floating control panel boundary, simple "reset to defaults" button to clear localstorage if desired, maybe get prettier action to stop complaining about where i put the ref :|
2022-12-01 20:31:49 -06:00
tim h
8c777fee04 tiny fix for upscaling 2022-12-01 20:00:33 -06:00
Victor Seiji Hariki
c63003e1cf
a quick try at a tool for painting
From yesterday night, just finished some final touches; should be
enough for some cool things.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-01 18:22:12 -03:00
Victor Seiji Hariki
9dcef66c21
some optimization
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-01 18:05:14 -03:00
Victor Seiji Hariki
3281277e4f
Merge pull request #60 from zero01101/bleeding-edge
Automatic Layers and Not-Quite Infinity
2022-12-01 00:33:32 -03:00
tim h
e0eed2831c so much better 2022-11-30 21:25:06 -06:00
Victor Seiji Hariki
3194f65253 not sure why resize was not triggering redraw
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 23:51:14 -03:00
tim h
4dafe50248 tiny fix to reintroduce mask removal on image accept 2022-11-30 20:20:57 -06:00
Victor Seiji Hariki
af0fb5f198 fix #63
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 22:08:14 -03:00
Victor Seiji Hariki
b9976d9e8b avoid filling history with uneventful moves
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 19:30:41 -03:00
Victor Seiji Hariki
7394ffff57
Add back "Enter" shortcut
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 19:18:32 -03:00
Victor Seiji Hariki
ce78370eb3
fix reject shortcut and add + shortcut to dream
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 18:57:40 -03:00
Victor Seiji Hariki
6f99b15320
general improvements for connection checking
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 18:47:30 -03:00
Victor Seiji Hariki
6d44db5d66
fixes chrome coords and canvas now starts at center
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 18:46:03 -03:00
Victor Seiji Hariki
a63228a552
no more losing the window
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 18:44:51 -03:00
Victor Seiji Hariki
e84ea7a8f4 Merge branch 'main' into bleeding-edge
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 23:54:09 -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
zero01101
d33edaa8cf Prettified Code! 2022-11-30 02:08:43 +00:00
tim h
b2f110bc57 test in prod, good plan 2022-11-29 20:08:22 -06:00
tim h
3fd062290a attempt at updating prettier action 2022-11-29 19:59:16 -06:00
Victor Seiji Hariki
6b0a25c15e remove debug message and fix snap coords
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 20:43:13 -03:00
Victor Seiji Hariki
d32e48a018 made canvas smaller for some tests; putting back
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 20:25:44 -03:00
Victor Seiji Hariki
b2d51d40d4 pixel things seem to have been fixed
At least temporarily, still want to check what causes smaller canvases
to break pixel perfection

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 19:47:19 -03:00
Victor Seiji Hariki
77380a7b53 remove debug dot in the cursor
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 18:23:35 -03:00
Victor Seiji Hariki
2fe9ed3ae5 Merge remote-tracking branch 'zero/main' into bleeding-edge
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 18:03:34 -03:00
Victor Seiji Hariki
0477445615
Merge pull request #59 from zero01101/layers
Layers
2022-11-29 17:58:42 -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
64ff4e8f3e
Merge pull request #58 from zero01101/bleeding-edge
Mostly Documentation and Development Tooling
2022-11-28 22:37:29 -03:00
Victor Seiji Hariki
4e27770284 some layer upgrades
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 20:03:58 -03:00
Victor Seiji Hariki
c1b17c1b0e Some start for layering
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 20:03:58 -03:00
Victor Seiji Hariki
0a33d3e491 Some first bases for infinity screen
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 20:03:58 -03:00
Victor Seiji Hariki
7c7352a0eb fixed issue when migrating mouse listeners
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 20:03:08 -03:00
Victor Seiji Hariki
3088a9dfed forgot to remove types from commands.js
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 19:54:26 -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
fdb93bad26 remove history console prints
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:46:37 -03:00
Victor Seiji Hariki
593a37bdfc add error for non-existent commands
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:44:40 -03:00
Victor Seiji Hariki
17b75cb64b util doc tab instead of space
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:32:31 -03:00
Victor Seiji Hariki
4d874b5c9a observer fix
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:25:31 -03:00
Victor Seiji Hariki
54c381de8e added jsdoc to commands
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:17:07 -03:00
Victor Seiji Hariki
8d0b44e36b Some jsdoc for util
Also allows for downloadCanvas to open image in new tab. This may be
useful for debugging anything that has a canvas (such as overmasking).

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:11:19 -03:00
Victor Seiji Hariki
6ec27df919 add some guards to input handlers to easier debug
Sometimes before this I used mouse.listen.window.left.onclick = () =>
{thing}. Now it throws an error telling me not to do this.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 10:08:47 -03:00
Victor Seiji Hariki
42a1266da5 Add custom errors
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 10:08:47 -03:00
tim h
b75297e8f2 tiny fix to keep approve/reject controls in viewable area if generated image is particularly close to the left edge 2022-11-27 15:35:49 -06:00