Introduction of mouse.h for z-index mouse events

This commit is contained in:
Sebastian
2024-11-21 23:58:35 +01:00
parent bfc14d5f6e
commit a6b6ff1d16
8 changed files with 42 additions and 13 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ namespace VISEQ::GRAPH::NODES {
break;}
};
if(midi_note < 0 ) midi_note = VISEQ::MIDI::Notes.size()-1;
if(midi_note >= VISEQ::MIDI::Notes.size() ) midi_note = 0;
if(midi_note >= VISEQ::MIDI::Notes.size()) midi_note = 0;
if(midi_cc < 0 ) midi_cc = 127;
if(midi_cc > 127 ) midi_cc = 0;