tim h
a71b52464d
merges all the recent awesome, adds stamp vertical flip too because I'M HELPING
2023-02-18 10:43:49 -06:00
Victor Seiji Hariki
995478c662
custom alerts and notifications
...
Adds custom notifications and dialog boxes. prompt() calls still not
updated
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-02-14 23:45:24 -03:00
tim h
8eef3392ed
Merge branch 'main' into manual-scripts
...
# Conflicts:
# index.html
# js/ui/tool/dream.js
2023-01-28 09:47:41 -06:00
Victor Seiji Hariki
2868f63941
fix save
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-27 01:46:34 -03:00
Victor Seiji Hariki
c4ef6ccce4
Workspaces now fully functional (using indexedDB)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-27 01:40:27 -03:00
tim h
06f4e82347
Merge branch 'main' into manual-scripts
...
# Conflicts:
# index.html
2023-01-23 21:36:50 -06:00
Victor Seiji Hariki
fc8e6fb557
Quick fix for zoom to cursor and brush erase blur
...
Quick fix to some issues pointed out by @raivshard at #177
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-22 09:18:47 -03:00
tim h
025d50a10e
got it passing scripts and params but wtf is it bitching about with
...
x_opt = axis_options[x_type]
TypeError: list indices must be integers or slices, not str
2023-01-20 18:53:16 -06:00
Victor Seiji Hariki
643f79fb84
Optimize background drawing by leveraging CSS
...
We now use CSS to background tile the grid
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-18 20:55:04 -03:00
zero01101
47a028b495
Prettified Code!
2023-01-16 23:08:23 +00:00
Patrick Abi Salloum
875d911aaa
Add default when ctrl is clicked while expanding
...
When the user Clicks the buttons to expand canvas, they get a prompt where they pick the value to expand by.
This makes it so that control click just expands the canvas by the default value without showing the prompt.
2023-01-16 23:43:20 +02:00
Victor Seiji Hariki
a591b20914
fix infinite recursion on zoom
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-14 18:53:46 -03:00
Victor Seiji Hariki
b590b6d124
remove debugging by default
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 23:03:15 -03:00
Victor Seiji Hariki
35a62ae9fe
back to original transform tool state
...
But way more flexible implementation
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:00:06 -03:00
Victor Seiji Hariki
8d88ca6632
Merge branch 'transform-vp' into rotate
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:08:48 -03:00
Victor Seiji Hariki
d3cc6ea8da
revert layers
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:05:59 -03:00
Victor Seiji Hariki
857cb29c12
migrates vp to DOMMatrix implementation
...
breaks select, but it was broken anyway.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:03:28 -03:00
Victor Seiji Hariki
b056f81155
test
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-08 18:21:08 -03:00
Victor Seiji Hariki
c7bd4797ea
remove debug
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 18:57:11 -03:00
Victor Seiji Hariki
b23a9183ea
Make bg always pixelated
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 18:50:00 -03:00
Victor Seiji Hariki
7e6df6819f
rework zoom to zoom into mouse location
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 18:38:36 -03:00
Victor Seiji Hariki
84ba327706
allow pan via LMB drag
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 17:49:46 -03:00
Victor Seiji Hariki
14aed51a89
debugging button to help get information
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-24 11:56:30 -03:00
Victor Seiji Hariki
42967f0a9a
make cursors less finicky
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-21 18:29:11 -03:00
Victor Seiji Hariki
518e60f44a
fix select interaction with layers and wrong sampler
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-21 14:30:35 -03:00
Victor Seiji Hariki
232b52bc4b
outpaint prefix to localstorage things
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-19 15:45:09 -03:00
Victor Seiji Hariki
d571eca7b0
some quick fixes for older browsers/documentation
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-18 11:26:47 -03:00
Victor Seiji Hariki
a941056db4
fix viewport location limits
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 01:07:02 -03:00
Victor Seiji Hariki
ea68e25cf0
canvas scaling?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 00:21:28 -03:00
Victor Seiji Hariki
3207e86566
makes ctrl + middle be move canvas
...
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>
2022-12-15 11:59:01 -03:00
Victor Seiji Hariki
0c5ed4a17e
select handle scaling
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-14 14:02:36 -03:00
Victor Seiji Hariki
0a73687556
add prompt history as suggested in #87
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 18:25:32 -03:00
Victor Seiji Hariki
f8687e9bac
Seems like fix didn't work
...
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>
2022-12-08 19:42:14 -03:00
Victor Seiji Hariki
ec59cf5538
Very crude settings interface
...
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>
2022-12-08 18:38:55 -03:00
Victor Seiji Hariki
c2e0cf4615
expand input field relative to drawable canvas
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 12:17:59 -03:00
Victor Seiji Hariki
548aa05001
windows now stop wheel event propagation
...
no more of the "mouse cursor size change while scrolling" issue
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 19:22:25 -03:00
Victor Seiji Hariki
361efc76f2
bypass for browser that calculate layer*
...
Bypasses the kinda slow getBoundingClientRect for browsers that actually
support CSS transforms for cursors
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 17:10:01 -03:00
Victor Seiji Hariki
9a08408456
this might fix some of our pixel-alignment issues
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 17:05:14 -03:00
Victor Seiji Hariki
207921978b
selection now uses ui canvas
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 12:25:06 -03:00
tim h
4a76eecd92
surprise interrogate tool
2022-12-05 00:26:52 -03:00
Victor Seiji Hariki
6222975825
some... i guess performance improvements for chrome
...
also fixes pixelated view for chrome
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 17:02:46 -03:00
Victor Seiji Hariki
14df643326
layers?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 16:22:35 -03:00
Victor Seiji Hariki
aec096b856
layers... now exist?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 08:00:39 -03:00
Victor Seiji Hariki
4549e21293
fix chrome giant icon/add pipette tool (shift)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 20:00:10 -03:00
Victor Seiji Hariki
51c90f0466
split settingsbar.js file
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 01:13:13 -03: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
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
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
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