Skip to content

Commit

Permalink
Default useWebMidi to on if the browser supports it, off otherwise
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwiles committed Jan 14, 2022
1 parent 8330419 commit 39c480d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const userSettings = createPersistedStore("userSettings", {
showKeyboard: true,
overlayKeyboard: false,
welcomeScreenInhibited: false,
webMidiEnabled: false,
useWebMidi: !!navigator.requestMIDIAccess,
});

// Browser State
Expand Down

0 comments on commit 39c480d

Please sign in to comment.