Commit Graph

25 Commits

Author SHA1 Message Date
Hugh Bord 8171467bf5 readme update, canvas reviews, bug fix 2021-12-27 11:15:13 +10:00
Hugh Bord e018ace9ea grid draws on tool canvas instead of main canvas 2021-12-26 20:35:57 +10:00
Hugh Bord 82fab90e7f edit ascii fix (made new bug), blocks fill bug fixes 2021-12-26 16:31:07 +10:00
Hugh Bord 922bcabd30 width bug fix, font on firt load bugfix 2021-12-26 12:20:17 +10:00
Hugh Bord 088f6d3807 completed context menus for brushes 2021-12-26 11:41:24 +10:00
Hugh Bord 7a5cd1b870 brush save fix, menu css and icons review 2021-12-21 21:25:18 +10:00
Hugh Bord 90010a8831 Readme update, removed font awesome (we now have material icons), front end css review 2021-12-21 19:03:40 +10:00
Hugh Bord ecce5d4959 fill bug fix, brush canvas fix 2021-12-17 20:09:59 +10:00
Hugh Bord 5d088490e9 started options, faster editor 2021-10-02 13:48:39 +10:00
Hugh Bord 1458a09519 reviewed / refactored styles 2021-08-16 17:03:53 +10:00
Hugh Bord b4439f9a5f layers in their own area, keyboard fixes 2021-08-16 16:14:49 +10:00
Hugh Bord f0a10e06d8 linter, better canvas resize with undo, readme update, store text data when leaving text mode 2021-08-15 11:20:58 +10:00
Hugh Bord 4c38f83503 LAYERS (wip) - brushing preview broken 2021-08-14 16:41:42 +10:00
Hugh Bord a168d1cf8d big fixes, review 2021-08-12 19:36:35 +10:00
Hugh Bord 8a87b8f9b2 baked in splash ascii, close tabs with confirmation dialog 2021-08-08 11:55:59 +10:00
Hugh Bord 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
Hugh Bord 9cf63688cc better scrolling for larger brushes 2021-08-07 16:05:54 +10:00
Hugh Bord 4439b3b0bb basic block editor in main brush, better brush preview 2021-08-07 15:36:32 +10:00
Hugh Bord a5ccdbca23 brush and select fixes 2021-08-07 12:41:47 +10:00
Hugh Bord 6c928fe9bc brush library updates (WIP) 2021-08-06 21:00:35 +10:00
Hugh Bord fa5e7e0ad7 better brushes canvas id, fixed brush color draw issues (WIP) 2021-08-06 15:12:37 +10:00
Hugh Bord 2581cd45f1 brush library and history (WIP) 2021-08-06 14:00:21 +10:00
Hugh Bord cb5e558922 better brush preview in new component 2021-08-06 11:51:58 +10:00