removed orbits unified ctrl/alt/shift modifiers for alle node types

This commit is contained in:
Sebastian
2026-06-25 11:41:55 +02:00
parent 5c433111e2
commit 792e537f2b
9 changed files with 187 additions and 199 deletions
+9
View File
@@ -73,6 +73,15 @@ namespace VISEQ::GRAPH::NODES {
}
}
void Node::cycleMode(bool direction){
if(direction){
mode = (mode + 1) % 7;
} else {
mode -= mode > 0 ? 1 : -6;
}
std::cout << "mode changed to: " << mode << std::endl;
}
void to_json(json& j, const Node& N){
if(N.getNodeType() == NodeType::MIDINODE){
j = dynamic_cast<const MidiNode&>(N);