Introduction of mouse.h for z-index mouse events
This commit is contained in:
+1
-1
@@ -378,7 +378,7 @@ namespace VISEQ::GRAPH {
|
||||
for(auto n : nodes){
|
||||
if(KEYS_PRESSED.ctrl && n->hovering()) state->hover_position = n->position;
|
||||
}
|
||||
BASE::Interactable::is_hovering = false;
|
||||
BASE::Interactable::z_hovering = -1;
|
||||
for(auto n : nodes){
|
||||
n->update();
|
||||
if(n->picked_up) drawNeighborLines(n, mouse_pos, camera);
|
||||
|
||||
Reference in New Issue
Block a user