Commit graph

27 commits

Author SHA1 Message Date
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
tim h
7cf9e468d5 fixes synced resolution changing undesirably with some tools on scrollwheel 2022-12-18 20:35:48 -06:00
tim h
f0aaf51389 css/js resource changes for extension 2022-12-18 17:50:40 -06:00
Victor Seiji Hariki
2ee01e71c9 fix some tools
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 00:55:53 -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
458df53fac fix pixel alingment on select for scaling
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 23:17:46 -03:00
Victor Seiji Hariki
3701eb110b fix some more issues in selectjs pixel alignment
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 23:09:41 -03:00
Victor Seiji Hariki
3373d2964e fix selection box when not grid-aligned
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 16:26:23 -03:00
Victor Seiji Hariki
3c0eed68ce fix slider strange behavior when mouse left
also added / to all res references

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 13:32:33 -03:00
Victor Seiji Hariki
55de66a127 fix some console debug messages
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 12:32:37 -03:00
Victor Seiji Hariki
c5d887620d select color and do not redraw twice on maskbrush
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 12:30:55 -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
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
4d414186c0 another fix for resource persistence
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 23:09:02 -03:00
Victor Seiji Hariki
eea14e1cc9 now browsers with literally no clipboard support are ok
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 11:40:40 -03:00
Victor Seiji Hariki
59e783d159 no more scale factor, support for dream cursor size
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 10:05:14 -03:00
Victor Seiji Hariki
b9976d9e8b avoid filling history with uneventful moves
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 19:30:41 -03:00
Victor Seiji Hariki
44cf9c0e70 Layers.
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>
2022-11-29 17:55:25 -03:00
Victor Seiji Hariki
83470ebba3 input.js types and move type definitions
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>
2022-11-28 19:48:42 -03:00
Victor Seiji Hariki
72ebe5ba21
some fixes and comments
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
(cherry picked from commit 6299b561f196a7c78c66a8d21b2e1b27cecdee77)
2022-11-25 19:23:22 -03:00
Victor Seiji Hariki
df5dc32eee Some quick lunch patches
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
2022-11-25 13:16:22 -03:00
Victor Seiji Hariki
db73982df2 some general fixes
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 4434e218c4f67ac3c63c3a5b645013588a7ce770
2022-11-25 01:46:49 -03:00
Victor Seiji Hariki
8419f52f43 fix cancel action for select tool
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 0bfa9a2cae4aa080571ae8eca576c94c023b6d44
2022-11-25 00:59:10 -03:00
Victor Seiji Hariki
70d1fda23d a big commit with the selection and stamping tools
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: b3f849f3fdb334916f1a4ee6c81ac6bdf42a8f52
2022-11-25 00:34:34 -03:00
Victor Seiji Hariki
42144ea577 allow shortcut deletion via callback
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 0a46ffda9945ad95665634c21c9732e7d9d1497e
2022-11-24 12:30:13 -03:00