Commit Graph

103 Commits

Author SHA1 Message Date
1458a09519 reviewed / refactored styles 2021-08-16 17:03:53 +10:00
b4439f9a5f layers in their own area, keyboard fixes 2021-08-16 16:14:49 +10:00
7ebeda41bd refactored keyboard events into their own file, bug fixes 2021-08-16 14:10:06 +10:00
59a87b661b better layers 2021-08-16 12:39:30 +10:00
590b43a378 review/refactor brush 2021-08-16 12:10:09 +10:00
09e70311db fix for tab changing and canvas size 2021-08-15 12:23:49 +10:00
f0a10e06d8 linter, better canvas resize with undo, readme update, store text data when leaving text mode 2021-08-15 11:20:58 +10:00
640cdcf982 refactored ascii data, more layers bug fixing, still bug when adding new layer then resizing 2021-08-15 10:57:37 +10:00
09f46a1cdd fixed resizing ascii and layers 2021-08-15 10:15:36 +10:00
4c075e6868 LAYERS - sorta 2021-08-14 19:09:36 +10:00
4c38f83503 LAYERS (wip) - brushing preview broken 2021-08-14 16:41:42 +10:00
a168d1cf8d big fixes, review 2021-08-12 19:36:35 +10:00
430bfaf6bd keyboard shortcuts review, README.md updated 2021-08-12 15:51:16 +10:00
aa424ce54a better keyboard shortcuts 2021-08-12 14:19:01 +10:00
c09f2db82f type char from keyboard when char panel open 2021-08-12 13:23:43 +10:00
5c64bb8d28 keyboard shortcuts in own component start, cut blocks, delete blocks in select 2021-08-12 13:19:06 +10:00
84606a455b better title update 2021-08-12 12:22:29 +10:00
97f4c03602 refactor, better text editing 2021-08-12 11:52:40 +10:00
8f074fd948 toolbar font draw, toaster notifications, fill eraser tool, some refactoring 2021-08-12 09:47:36 +10:00
99f8678bc0 flip and rotate brush with E and Q when in brush mode 2021-08-08 13:24:06 +10:00
8a87b8f9b2 baked in splash ascii, close tabs with confirmation dialog 2021-08-08 11:55:59 +10:00
1520d3d9b0 better brush preview for same colour blocks, better select view, grid view and keyboard shortcut ctrl g 2021-08-08 10:36:17 +10:00
Fred Akers
e43f564e8c
Some small fixes (#8)
* Cleanup toolCtx clearing and only do the canvas width height

* fix select bug where clicking after making a selection draws another rectangle

* remove unnecessary tool canvas clear

* clear select rectangle with clicking again

* remove uneeded toolCtx.stroke()s

* brush canvas only clear needed width, height. don't need to stroke.

* replace timers with requestAnimationFrame for smother animation

https://flaviocopes.com/requestanimationframe/

* skip running mousemove code if the mouse is still inside the last block
2021-08-08 08:36:00 +10:00
4439b3b0bb basic block editor in main brush, better brush preview 2021-08-07 15:36:32 +10:00
a5ccdbca23 brush and select fixes 2021-08-07 12:41:47 +10:00
fa5e7e0ad7 better brushes canvas id, fixed brush color draw issues (WIP) 2021-08-06 15:12:37 +10:00
2581cd45f1 brush library and history (WIP) 2021-08-06 14:00:21 +10:00
cb5e558922 better brush preview in new component 2021-08-06 11:51:58 +10:00
d2f38f822c better modals, keyboard input in modals, new keyboard shortcuts 2021-08-05 15:30:53 +10:00
014ad5602b improved ui, 99 color fix, more refactor, aspect ratio fix 2021-08-05 10:54:40 +10:00
c61144acf1 toolbar ui update, bug fix 2021-08-05 09:09:29 +10:00
0402905391 css fix 2021-08-04 15:41:33 +10:00
f7e7849069 eslint refactor review 2021-08-04 13:21:06 +10:00
2d115f5609 fill tool fix, review liniter 2021-08-04 11:30:00 +10:00
d751a60ce5 more refactor, code format, better char picker with space 2021-08-03 17:33:25 +10:00
51489aa604 99 colours and close colour picker 2021-08-03 16:33:06 +10:00
988251b1b7 refactor, undo redo bug fixes 2021-08-03 14:59:12 +10:00
c45bcb6f48 refactor first pass, fixed fill bug, new ctrl d for show/hide debug panel 2021-08-03 13:00:32 +10:00
4a729be0c3 mirror X and Y 2021-07-31 12:12:11 +10:00
cfa3f7242a first row fix when copying to brush 2021-07-24 14:34:49 +10:00
1c49db640f added hax ascii url, copy and paste with brush (WIP), fixed tab change ascii 2021-07-24 11:55:44 +10:00
5d6c5fd421 better select/copy, refactored code to ascii.js 2021-07-17 11:44:27 +10:00
83e27e4587 edit modals, import mirc from clipboard 2021-07-10 11:45:47 +10:00
78425e5c5c edit modals, import mirc from clipboard 2021-07-10 11:41:17 +10:00
c54b2e28d2 redo fix 2021-06-29 11:49:39 +10:00
893083a308 context menu bug fix 2021-06-19 11:34:31 +10:00
35961a17da fixed draw bug, started select, mac command key 2021-06-05 11:25:23 +10:00
7071931f4c better brush center 2021-05-29 11:09:09 +10:00
4956ca31d4 better brush vis 2021-05-29 10:45:16 +10:00
a0b921364b CENTER BRUSH 2021-05-29 10:28:30 +10:00