export review, readme update

This commit is contained in:
Hugh Bord 2022-01-08 13:56:54 +10:00
parent e40e17c194
commit 7451b632f0
2 changed files with 8 additions and 4 deletions

View File

@ -80,6 +80,7 @@ A most latest production build to use is available at https://asciibird.jewbird.
To fix before properly releasing v1
* System to review the localStorage data and update any differences
* Fill tool buggered on big ascii, related to undo system and recursion limit
* Brush blocks larger than 1x1 can leave undoable blocks
* Asciis sometimes open with 1 more block width and height

View File

@ -490,10 +490,13 @@ export const exportMirc = (blocks = null) => {
...blocks[y][x]
};
let isPadded = (blocks[y][x + 1].char !== undefined && (Number.parseInt(blocks[y][x + 1]
.char) >= 0 && Number.parseInt(blocks[y][x + 1].char) <= 9) || (blocks[y][x].char !==
undefined && (Number.parseInt(blocks[y][x]
.char) >= 0 && Number.parseInt(blocks[y][x].char) <= 9)))
let isPadded = ((blocks[y][x + 1].bg === undefined || blocks[y][x + 1].fg === undefined) && blocks[y][x + 1]
.char !== undefined && (Number.parseInt(
blocks[y][x + 1]
.char) >= 0 && Number.parseInt(blocks[y][x + 1].char) <= 9) ||
(blocks[y][x].char !==
undefined && (Number.parseInt(blocks[y][x]
.char) >= 0 && Number.parseInt(blocks[y][x].char) <= 9)))
// If we have a difference between our previous block
// we'll put a colour codes and continue as normal