event type passed as symbol to on_update callback

This commit is contained in:
2023-08-03 13:13:01 +01:00
parent 33635e5f9b
commit 2dab83ec31
3 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ class Main
end
def on_update(event)
if event == "midi"
if event == :midi
current = @vm.midi.current
midi_handler(current, @vm.midi.get(current))
end