@sedoo/unidoo 0.0.80 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sedoo/unidoo",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build --target lib --name unidoo src/plugin.js",
File without changes
File without changes
File without changes
@@ -10,7 +10,7 @@
10
10
  :graduation="graduation"
11
11
  :frequency="300"
12
12
  :loadedFrames="loadedFrames"
13
- @reload-frames="preloadFrames(loadIndex)"
13
+ @reload-frames="refreshPreload(loadIndex)"
14
14
  progressBarTitle="Loading image"
15
15
  >
16
16
 
@@ -205,6 +205,11 @@ export default {
205
205
  }
206
206
  },
207
207
 
208
+ refreshPreload(loadIndex){
209
+ this.lastFrameQualifier = this.currentQualifier;
210
+ this.preloadFrames(loadIndex);
211
+ },
212
+
208
213
  incrementPreload() {
209
214
  this.loadedFrames++;
210
215
  if (this.loadedFrames === this.max + 1) {
package/src/plugin.js CHANGED
File without changes