aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2022-03-21 20:55:00 +0000
committers-ol <s+removethis@s-ol.nu>2022-03-21 20:55:00 +0000
commite77d1b26445675b8c40912bd707d01c2c72b3fd7 (patch)
treeaff9a23e76e2d450de862030b2235d75016ccb0a
parenttoolbar, focus, editable size (diff)
downloadisomorphic-kb-explorer-e77d1b26445675b8c40912bd707d01c2c72b3fd7.tar.gz
isomorphic-kb-explorer-e77d1b26445675b8c40912bd707d01c2c72b3fd7.zip
fix clicking keys
-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)}