save blocks when brushing off canvas
This commit is contained in:
parent
666a61ee43
commit
5fb166e263
|
@ -77,7 +77,6 @@ A most latest production build to use is available at https://asciibird.jewbird.
|
|||
|
||||
## Bugs to fix
|
||||
|
||||
* If you brush off canvas you cannot undo the changed blocks
|
||||
* 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.
|
||||
* Can't type in dialogs
|
||||
|
|
|
@ -1237,6 +1237,7 @@ export default {
|
|||
break;
|
||||
case "post":
|
||||
this.$store.commit("toggleDisableKeyboard", true);
|
||||
this.isShowingDialog = true;
|
||||
this.$dialog
|
||||
.prompt({
|
||||
title: "HTTP Post your Ascii",
|
||||
|
@ -1289,7 +1290,7 @@ export default {
|
|||
this.isShowingDialog = false;
|
||||
});
|
||||
|
||||
this.isShowingDialog = true;
|
||||
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
|
|
@ -410,10 +410,13 @@ export default {
|
|||
break;
|
||||
}
|
||||
},
|
||||
isMouseOnCanvas() {
|
||||
isMouseOnCanvas(val, old) {
|
||||
if (!this.isSelecting) {
|
||||
this.clearToolCanvas();
|
||||
this.canTool = false;
|
||||
// if (!this.isBrushing) {
|
||||
this.dispatchBlocks()
|
||||
// }
|
||||
}
|
||||
},
|
||||
gridView(val, old) {
|
||||
|
|
Loading…
Reference in New Issue