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>
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>
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
for dragging, add original target to avoid paint intermitence when dragging
windows too fast.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>