Commit Graph

36 Commits

Author SHA1 Message Date
a168d1cf8d big fixes, review 2021-08-12 19:36:35 +10:00
5c64bb8d28 keyboard shortcuts in own component start, cut blocks, delete blocks in select 2021-08-12 13:19:06 +10:00
97f4c03602 refactor, better text editing 2021-08-12 11:52:40 +10:00
8a87b8f9b2 baked in splash ascii, close tabs with confirmation dialog 2021-08-08 11:55:59 +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
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
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
c61144acf1 toolbar ui update, bug fix 2021-08-05 09:09:29 +10:00
f7e7849069 eslint refactor review 2021-08-04 13:21:06 +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
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
884e0c619e export to canvas size 2021-06-26 10:19:52 +10:00
893083a308 context menu bug fix 2021-06-19 11:34:31 +10:00
726d2fc105 better brush preview update, bug fixes, redo, cross brush type 2021-05-22 12:49:19 +10:00
9ebf6950f7 brush tool working sorta 2021-05-08 11:51:30 +10:00
6724cb5240 fill works, brush preview bit better 2021-05-01 12:17:49 +10:00
2c7725684e PASSING BEXMARK, WIDTH FIXED 2021-04-17 11:36:44 +10:00
a1cbf1ecc1 BRUSH FAILURE, backspace text sorta 2021-04-17 10:12:02 +10:00
bdc3c522c5 tried cursor shit, fill sorta working but not finished 2021-04-02 13:36:00 +10:00
a90eeedbea canvas reference fix 2021-04-02 12:07:49 +10:00
c98f92071f chars and char select 2021-03-29 18:44:42 +10:00
0cdebf0d0a chars and char select 2021-03-29 18:21:23 +10:00
f97302acbc more better toolbar 2021-03-29 15:10:31 +10:00