performance optimization for firefox seems to have broken chrome after
today's changes. Seems like we will have to accept the slower method of
calculating coordinates. At least it is more flexible.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Very crude settings interface with only canvas size for now. Canvas size
only affects canvas on next page load. Dynamic resizing in the horizon,
but will take a while.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Same as a select, but you can kind of search for the item you want. Good
for when you have a lot of models.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
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 :|
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>
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>
Detects if it is a CORS problem, checks for invalid saved host
configuration, webui connection status indicator
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
fixed scrolling on basically everything but the canvas, prompt fields
now automatically expand when focused, prompt, host and negprompt now
are stored on localstorage. on hover prompt and negprompt fields now
show full text in tooltips
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
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
reimplements mask using the new input lib, makes mask use a solid color
(masks shouldn't become darker the more you draw over itself) and the
mask layer is now rendered with the alpha using css.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>