clear bitmaps on file reload
This commit is contained in:
parent
7516989b84
commit
494c308f94
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ export default class Picker extends Vue {
|
||||||
});
|
});
|
||||||
|
|
||||||
Promise.all(bitmapPromises).then((bitmaps) => {
|
Promise.all(bitmapPromises).then((bitmaps) => {
|
||||||
|
this.bitmaps = {};
|
||||||
bitmaps.forEach(([filename, bitmap]) => {
|
bitmaps.forEach(([filename, bitmap]) => {
|
||||||
this.bitmaps[filename] = bitmap;
|
this.bitmaps[filename] = bitmap;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue