frayerjj-frontend 0.5.0 → 0.5.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/loading.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frayerjj-frontend",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "My base frontend for various projects",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/loading.js CHANGED
@@ -12,7 +12,7 @@ export const loading = {
12
12
  shadowOffset: session.getIntVar('loadingShadowOffset', -67), // Initial Position One Step After Corona
13
13
  logoOffset: session.getIntVar('loadingLogoOffset', -50), // Initial Position One Step After Corona
14
14
  wait: session.getIntVar('loadingWait', 20), // Number of Frames to Wait at Corona
15
- delay: session.getIntVar('loadingDelay', 40), // Interval Delay
15
+ delay: session.getIntVar('loadingDelay', 20), // Interval Delay
16
16
 
17
17
  build: el => {
18
18
  if (loading.interval != null) loading.clear();
@@ -33,15 +33,15 @@ export const loading = {
33
33
  loading.interval = null;
34
34
  } else {
35
35
  // Slow Down for Corona Approach
36
- if (loading.shadowOffset == -45) {
36
+ if (loading.planetarium.shadowOffset == -45) {
37
37
  clearInterval(loading.interval);
38
- loading.planetarium.delay = 40;
38
+ loading.planetarium.delay = 20;
39
39
  loading.interval = setInterval(loading.animation, loading.planetarium.delay);
40
40
  }
41
41
  // Speed Up for Corona Departure
42
- if (loading.shadowOffset == -105) {
42
+ if (loading.planetarium.shadowOffset == -105) {
43
43
  clearInterval(loading.interval);
44
- loading.planetarium.delay = 20;
44
+ loading.planetarium.delay = 10;
45
45
  loading.interval = setInterval(loading.animation, loading.planetarium.delay);
46
46
  }
47
47
  // Stop at Corona for Delay