Skip to content

Commit

Permalink
fix(midi): Fix setting message type mask
Browse files Browse the repository at this point in the history
  • Loading branch information
mfep committed Jun 13, 2024
1 parent 397f30a commit 87f1be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MidiInNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void MidiInNode::render_internal()
ImGui::PushStyleColor(ImGuiCol_HeaderActive, ImVec4{});
if (ImGui::TreeNode("Advanced"))
{
midi::MessageTypeMask new_message_type_mask;
midi::MessageTypeMask new_message_type_mask = m_message_type_mask;
ImGui::Checkbox("Receive SysEx", &new_message_type_mask.m_sysex_enabled);
ImGui::Checkbox("Receive MIDI Clock", &new_message_type_mask.m_time_enabled);
ImGui::Checkbox("Receive Active Sensing", &new_message_type_mask.m_sensing_enabled);
Expand Down

0 comments on commit 87f1be1

Please sign in to comment.