Clipboard introduced, but not incorporated yet. Some defines for convenience and better readability.

This commit is contained in:
Sebastian
2024-11-19 01:04:06 +01:00
parent 22842f9deb
commit 5779c93339
11 changed files with 118 additions and 44 deletions
+3
View File
@@ -304,6 +304,9 @@ 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;
}
for(auto n : nodes){
n->update();
if(n->picked_up) drawNeighborLines(n, mouse_pos, camera);