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>
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>
From yesterday night, just finished some final touches; should be
enough for some cool things.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
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>
At least temporarily, still want to check what causes smaller canvases
to break pixel perfection
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
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>
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>
Blue masking means SD will try to keep image as-is under the mask. Red
masking means SD will try to replace whatever is under the mask. (Red is
default masking, Blue is inverted masking)
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
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
Progress check now has a 1.5s timing window (we can update it to wait
for the last update before sending a new progress request in the future)
Fixed dream() call in img2img tool
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: c137f13e5a71f0b62cc7094bd53f8a4e5f89fcb6
Also updates a lot of other things (brush size now independent from
scale factor, split some files, and a lot other things; removed erase
safeguard as now erase is supported by undo/redo; tried adding github
prettier autoformatting to pull requests;
may have some other things as well
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: 0ba21f23c69f9dca2c3189a838b945900b01f81d