Config nodes do what they should do now. UX is still off, modifier keys do different things on MidiNodes and ConfigNodes.

This commit is contained in:
Sebastian
2024-12-08 14:21:46 +01:00
parent 558829f619
commit 3b08037f92
8 changed files with 106 additions and 131 deletions
+2 -5
View File
@@ -70,14 +70,11 @@ namespace VISEQ::APP {
}
int highest_id = 0;
Node hid;
for(auto n : graph.at("gm").at("nodes")){
std::cout << n << std::endl;
if(n.is_object()){
Node mn = n.template get<Node>();
if(mn.id > highest_id) {
highest_id = mn.id;
hid = mn;
if(n.at("id").get<int>() > highest_id) {
highest_id = n.at("id").get<int>();
}
}
}