commit 9a2e829d961f470eb404e8a7dab18224e294812e
parent c5e8541aceba7e929043fad421df734c7c046156
Author: Massimo Siboldi <mdsiboldi@gmail.com>
Date: Wed, 21 Feb 2018 16:31:49 -0800
An important distinction and an empty line.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/App/index.js b/src/App/index.js
@@ -134,7 +134,7 @@ class App extends Component {
hasSolo = true;
group = 'solo';
}
- if (!this.props.playing || val.beats[this.state.beat]) {
+ if (!this.state.playing || val.beats[this.state.beat]) {
if (!val.mute) {
accum[group].push(val.waveform);
}
@@ -188,7 +188,7 @@ class App extends Component {
if (isEditing) {
state.editingWaveformIdx = at;
}
-
+
this.setState(state);
}
setBeats = (newNumBeats) => {