zincjs 1.20.0 → 1.20.1

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": "zincjs",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "ZincJS (Web-based-Zinc-Visualisation)",
5
5
  "main": "build/zinc.js",
6
6
  "directories": {
@@ -418,8 +418,9 @@ const TextureSlides = function (textureIn) {
418
418
 
419
419
  this.setMask = (maskTextureIn) => {
420
420
  maskTexture = maskTextureIn;
421
+ maskEnabled = maskTexture ? true : false;
421
422
  this.setUniformsValue("mask", maskTexture);
422
- this.setUniformsValue("maskEnabled", maskTexture ? true : false);
423
+ this.setUniformsValue("maskEnabled", maskEnabled);
423
424
  }
424
425
 
425
426
  this.hideEdges = () => {