brush library and history (WIP)

This commit is contained in:
Hugh Bord 2021-08-06 14:13:16 +10:00
父節點 2581cd45f1
當前提交 75b578bc77

查看文件

@ -127,9 +127,9 @@ export default {
},
reuseBlocks(value) {
// this.$store.commit('pushBrushHistory', this.brushBlocks)
this.$store.commit('changeColourFg', value[0][0].fg )
this.$store.commit('changeColourBg', value[0][0].bg )
this.$store.commit('changeChar', value[0][0].char )
// this.$store.commit('changeColourFg', value[0][0].fg )
// this.$store.commit('changeColourBg', value[0][0].bg )
// this.$store.commit('changeChar', value[0][0].char )
this.$store.commit('brushBlocks', value)
},
saveToLibrary(value) {