brush removing char bug fix

This commit is contained in:
Hugh Bord 2021-12-26 16:38:39 +10:00
parent 82fab90e7f
commit b92ddd455e
2 changed files with 1 additions and 3 deletions

View File

@ -77,8 +77,6 @@ A most latest production build to use is available at https://asciibird.jewbird.
## Bugs to fix
* If you apply an empty block from a brush, it will remove the char when it is supposed to leave the block alone.
* A bigger circle brush is a good example for this one.
* The edit dialog, even when code to save new data is commented out, will slow down everything if you open and save the modal a few times
## Mobile / Touch Screen support

View File

@ -1662,7 +1662,7 @@ export default {
}
for (let x = 0; x < xLength; x++) {
if (!this.brushBlocks[y][x]) {
if (!this.brushBlocks[y][x] || JSON.stringify(this.brushBlocks[y][x]) === '{}') {
continue;
}