ohzi-core 5.16.12 → 5.16.13

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": "ohzi-core",
3
- "version": "5.16.12",
3
+ "version": "5.16.13",
4
4
  "description": "OHZI Core Library",
5
5
  "module": "build/index.module.js",
6
6
  "source": "src/index.js",
@@ -55,6 +55,10 @@ export default class ApplicationView extends ViewState
55
55
 
56
56
  set_opacity(current_state_data)
57
57
  {
58
- this.container.style.opacity = current_state_data[`${this.name}_opacity`];
58
+ if (this.container.style.opacity > current_state_data[`${this.name}_opacity`] ||
59
+ this.container.style.opacity < current_state_data[`${this.name}_opacity`])
60
+ {
61
+ this.container.style.opacity = current_state_data[`${this.name}_opacity`];
62
+ }
59
63
  }
60
64
  }
@@ -13,9 +13,9 @@ class ViewManager
13
13
 
14
14
  update()
15
15
  {
16
- this.transition_handler.update();
17
-
18
16
  this.__set_views_opacities();
17
+
18
+ this.transition_handler.update();
19
19
  }
20
20
 
21
21
  go_to_view(view_name, change_url = true, skip = false)