Commit Graph

237 Commits

Author SHA1 Message Date
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
45ba3ec3fe README fix lol 2021-08-12 15:53:12 +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
ca8b9eeabf reviewed canvas to computed 2021-08-08 09:45:37 +10:00
Fred Akers
1bcfedaf28
Fixbrushhistory (#9)
* fix brush history redraw, clearRect use right width heights

* fix brush history redraw, clearRect user proper width heights
2021-08-08 09:42:05 +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
c1f20be09e fix for plain text ascii import 2021-08-07 16:10:52 +10:00
9cf63688cc better scrolling for larger brushes 2021-08-07 16:05:54 +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
6c928fe9bc brush library updates (WIP) 2021-08-06 21:00:35 +10:00
fa5e7e0ad7 better brushes canvas id, fixed brush color draw issues (WIP) 2021-08-06 15:12:37 +10:00
29f800c534 hash value of brushes to prevent duplicates (WIP) 2021-08-06 14:39:54 +10:00
75b578bc77 brush library and history (WIP) 2021-08-06 14:13:16 +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
a1e27a8e22 export bug fix 2021-08-05 15:38:01 +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
698ed576a1 refactored font inclusion, css now inside js 2021-08-04 16:34:10 +10:00
0402905391 css fix 2021-08-04 15:41:33 +10:00
a30113489c hack font now baked in, no cdn in index.html 2021-08-04 15:14:52 +10:00
bfa9c46d82 css fix, reviewed js loading and packages 2021-08-04 14:52:29 +10:00
f7e7849069 eslint refactor review 2021-08-04 13:21:06 +10:00
424179d96b before linter fixes 2021-08-04 12:47:17 +10:00
2d115f5609 fill tool fix, review liniter 2021-08-04 11:30:00 +10:00
316781c532 newblock refactor, paste ascii modal fix 2021-08-04 11:13:35 +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
beb8066e08 export to canvas size 2021-06-26 11:13:20 +10:00