Dragging and selecting works. Dragging the selection not yet.
This commit is contained in:
+1
-1
@@ -376,7 +376,7 @@ namespace VISEQ::GRAPH {
|
||||
|
||||
void drawNodes(Vec2Df mouse_pos, Camera2D camera){
|
||||
for(auto n : nodes){
|
||||
if(KEYS_PRESSED.ctrl && n->hovering()) state->hover_position = n->position;
|
||||
if(KEYS_PRESSED.ctrl && n->hovering()) state->selection_origin = n->position;
|
||||
}
|
||||
BASE::Interactable::z_hovering = -1;
|
||||
for(auto n : nodes){
|
||||
|
||||
Reference in New Issue
Block a user