aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/app.js b/app/app.js
index 98831c8..d85d9c5 100644
--- a/app/app.js
+++ b/app/app.js
@@ -374,8 +374,8 @@ export default class App extends React.Component {
<Keyboard
w={w}
h={h}
- noteon={this.noteon}
- noteoff={this.noteoff}
+ noteon={this.noteon.bind(this)}
+ noteoff={this.noteoff.bind(this)}
showMidi={showMidi}
layout={layouts[layout]}
scale={scale !== "none" && offset !== null && tallyup(scales[scale], offset)}