removed orbits unified ctrl/alt/shift modifiers for alle node types
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user