Commit Graph

222 Commits

Author SHA1 Message Date
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
884e0c619e export to canvas size 2021-06-26 10:19:52 +10:00
a77222d63f ascii import fix but some still broke 2021-06-19 16:55:23 +10:00
893083a308 context menu bug fix 2021-06-19 11:34:31 +10:00
45e8babf11 fixed import width 2021-06-19 10:26:23 +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
726d2fc105 better brush preview update, bug fixes, redo, cross brush type 2021-05-22 12:49:19 +10:00
9e71bdb4de compression in localStorage WORKING, ctrl z undo working much better 2021-05-16 10:30:18 +10:00
a7686175c5 lz compression on asciibird state import/export, lz compression on ctrl z history 2021-05-15 13:54:30 +10:00
d7eb973811 readme update 2021-05-15 11:57:44 +10:00
547729e702 sorta got undo 2021-05-15 11:52:20 +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
1ff3e5fafa new modal single file component 2021-04-24 10:42:33 +10:00
71ac1e288a modals (WIP); mirc to clipboard 2021-04-24 10:20:11 +10:00
2edcfc069f dono bro 2021-04-17 11:58:45 +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
b516bcdfd3 ascii resize block bug fix 2021-04-03 13:49:22 +10:00
077dbc0131 2DAYS STREAM 2021-04-03 13:13:03 +10:00
294d7d8b6a better fill but not there yet 2021-04-02 14:43:11 +10:00
393caeabfe better fill but not there yet 2021-04-02 13:44:08 +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
bdf037d0a2 fill tool (WIP), better panel remember 2021-04-02 10:19:33 +10:00
d497cce809 remembers ascii and panel positions in state 2021-04-02 09:01:36 +10:00
4b7be30e64 save/load asciibird state but without gz 2021-04-01 11:35:10 +10:00
b64ace3a54 save/load asciibird state, import not working but can export 2021-04-01 11:10:52 +10:00
b8a7c54601 reviewed dashboard code 2021-04-01 09:29:55 +10:00
7b1e04767b better C00,00 import support but still not perfect 2021-03-31 11:14:33 +10:00
a6a2c5eaa0 refined mirc export 2021-03-31 10:46:33 +10:00
577d000c1e beter export to mirc, at least in asciiblaster 2021-03-30 20:50:54 +10:00
76843c0cf2 beter export to mirc, at least in asciiblaster 2021-03-30 20:42:30 +10:00
3ea529d480 export to mirc 2021-03-30 18:36:53 +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
698b1f010e cleaned out older packages, hope we don\'t need them 2021-03-29 11:50:33 +10:00
68b26094a3 colors fix 2021-03-29 11:03:42 +10:00
88d7752c80 code review/epic clean for toolbar and editor, thx chat pals beenz n sniff 2021-03-29 10:39:42 +10:00
729671ffa4 f u beenz n sniff 2021-03-27 14:54:44 +10:00
39c386b834 fixed red/grey block bug 2021-03-27 14:24:05 +10:00
848b606b38 better icons, swap color 2021-03-27 14:16:15 +10:00
fb63ae3640 better canvas, toolbar dev ONLY 2021-03-27 12:07:33 +10:00
01e9eb7058 better width/height resize but still bad 2021-03-26 21:36:37 +10:00
606538f578 mirc import better 2021-03-20 19:59:32 +10:00
6dc31339d8 mirc import better 2021-03-20 19:33:16 +10:00
e8aeb10e9d hack font integration, shout outs to beenz 2021-03-20 18:35:54 +10:00
eef7788332 fixed width import, started toolbar 2021-03-20 13:45:10 +10:00
b482e6f1b0 fixed last line width bug 2021-03-20 10:39:17 +10:00
4aa9879283 more ansi support, will have to map colours back to mIRC for it to work better, and also fix the font stuff 2021-03-15 15:49:02 +10:00
5fad917fa8 irc watch integration, ansi import start 2021-03-14 17:36:14 +10:00
01ef889bf1 sorta fixed that import/change tab bug 2021-03-13 15:27:07 +10:00
9d56b30f0d ascii import fix, started editing 2021-03-13 13:30:58 +10:00
609cc01391 fixed off by 1 bug, better width, better ascii 2021-03-06 12:03:22 +10:00
019b15e3e3 WE CAN SORT OF IMPORT THE BEX.TXT ASCIIscp salt:/home/maxx/ascii/bex.txt .! WONDERFUL WORK 2021-02-20 19:15:41 +10:00
7d91de40a9 much cleaner mIrc import code, but now width broken 2021-02-20 18:35:04 +10:00
0599828020 reeeeeeeeee 2021-02-20 18:05:31 +10:00
6a424f8126 mIRC import sorta okay, fuckin editor parse shit still fucked 2021-02-20 15:39:35 +10:00
559170b15a seemingly better mIRC import code 2021-02-20 14:21:12 +10:00
0540449425 yeeeaaah budddeehh 2021-02-20 14:13:10 +10:00
dfd5208ca8 better width detection inside Dashboard.vue mirc import 2021-02-20 14:12:09 +10:00
1fea25e219 reviewed getters, removed routing for now 2021-02-20 13:18:32 +10:00
3dd16da465 updated mIRC import code, (WIP) 2021-02-20 12:16:45 +10:00
ab2d56d347 debug toolbar start 2021-02-13 11:51:01 +10:00
0179c1c282 better toolbar 2021-02-13 11:24:14 +10:00
4f56fd1566 FAILED mIRC import code, jewbird damn bro get it together 2021-02-13 11:17:07 +10:00
8f8a966171 more toolbar stuff (WIP) 2021-02-06 11:57:35 +10:00
2cb2505cb1 basic code cleaning, toolbar start 2021-02-06 11:22:16 +10:00
9ba0e0ca00 updates 2021-01-30 12:33:11 +10:00
01f89e4480 mIRC art import (98% done\!) 2021-01-23 12:50:32 +10:00
42a35e5754 started mIRC import 2021-01-16 13:03:14 +10:00
487dde0562 dragable panel w/ colors, better routing 2021-01-10 18:29:38 +10:00
e73a7be7f1 grid (WIP), fixed nav/canvas bug sort of, better layout 2021-01-10 13:06:46 +10:00
f28dbd6b63 better canvas, fixes 2021-01-09 11:57:48 +10:00
2ef7a5f45d better names on create ascii 2021-01-08 10:51:41 +10:00
5df017495e localStorage for vuex, persists data on refresh/browser close 2021-01-08 10:47:08 +10:00
2eb1fb055b RED TRIANGLE OUTLINE 2021-01-08 09:53:28 +10:00
c0f067e7af fkn js 2021-01-08 09:41:23 +10:00
33080eed24 fixed canvas reference sort of 2021-01-08 09:32:19 +10:00
67d759bde0 canvas fail 2021-01-02 11:52:44 +10:00
1c65c8c180 started ascii blocks, improved ascii data structure 2020-12-27 12:42:26 +10:00
b6cd7b4e7a before fix of tailwindcss fml 2020-12-19 11:45:52 +10:00
fe046ecbbe almost integrated vue-tailwind 2020-12-19 11:27:50 +10:00
f9bb720309 init 2020-12-19 10:14:06 +10:00