Mini commit

This commit is contained in:
Sebastian
2024-11-23 00:54:31 +01:00
parent b12f1d0f9d
commit 62a5c53969
+1 -1
View File
@@ -15,7 +15,7 @@ namespace VISEQ::APP {
auto hovering_nodes = gm->nodes | RANGE_FILTER([](SPTR_Node n) { return n->is_hovering;}) | std::ranges::to<std::vector<std::shared_ptr<BASE::Draggable>>>(); auto hovering_nodes = gm->nodes | RANGE_FILTER([](SPTR_Node n) { return n->is_hovering;}) | std::ranges::to<std::vector<std::shared_ptr<BASE::Draggable>>>();
if(!hovering_nodes.empty()){ if(!hovering_nodes.empty()){
hovering_nodes.front()->selected = true; //hovering_nodes.front()->is_hovering = true;
} }
} }
}; };