Mini commit
This commit is contained in:
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user