This is for consistency with zoom and to avoid conflict with middle
mouse click for extra image generation
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
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>
Bypasses the kinda slow getBoundingClientRect for browsers that actually
support CSS transforms for cursors
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>
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>