]> git.r.bdr.sh - rbdr/lissajous/blobdiff - lib/components/triple_frequency.js
Update mobile CSS
[rbdr/lissajous] / lib / components / triple_frequency.js
index aa768e39cff7d1526c71676157b4f00e2a2baaaa..1f118b90ebb30eac84eeaa3fdef32a9986012162 100644 (file)
@@ -5,8 +5,8 @@ export default class TripleFrequency extends Component {
 
     super(config);
 
-    this.a = Math.random();
-    this.b = Math.random();
-    this.c = Math.random();
+    this.a = this.a || Math.random();
+    this.b = this.b || Math.random();
+    this.c = this.c || Math.random();
   }
 };