Add checkbox to MenuBarInput widget

This commit is contained in:
Keavon Chambers
2021-07-31 18:20:51 -07:00
parent 09695f7777
commit d3958f80fa
4 changed files with 57 additions and 11 deletions
@@ -308,8 +308,8 @@ export default defineComponent({
const { reset_colors } = await wasm;
reset_colors();
},
download(filename: string, svgData: string) {
const svgBlob = new Blob([svgData], { type: "image/svg+xml;charset=utf-8" });
download(filename: string, fileData: string) {
const svgBlob = new Blob([fileData], { type: "image/svg+xml;charset=utf-8" });
const svgUrl = URL.createObjectURL(svgBlob);
const element = document.createElement("a");