clear bitmaps on file reload

This commit is contained in:
Tomáš Mládek 2020-07-15 22:12:18 +02:00
parent 7516989b84
commit 494c308f94

View file

@ -42,6 +42,7 @@ export default class Picker extends Vue {
});
Promise.all(bitmapPromises).then((bitmaps) => {
this.bitmaps = {};
bitmaps.forEach(([filename, bitmap]) => {
this.bitmaps[filename] = bitmap;
});