Vector UI on its way!

This commit is contained in:
Sebastian
2024-12-15 01:47:53 +01:00
parent b2ed35a704
commit 96c2bde0e1
4 changed files with 213 additions and 40 deletions
+2 -3
View File
@@ -13,7 +13,6 @@
#include "state.h"
#include "canvas.h"
#include <algorithm>
#include <execution>
#include <memory>
namespace VISEQ::INTERACTION{
@@ -82,11 +81,11 @@ namespace VISEQ::INTERACTION{
}
if(!KEYS_DOWN.shift && IsKeyPressed(KEY_TAB)) {
state->node_mode = (state->node_mode + 1) % 6;
state->node_mode = (state->node_mode + 1) % 7;
}
if(KEYS_DOWN.shift && IsKeyPressed(KEY_TAB)) {
state->node_mode -= state->node_mode > 0 ? 1 : -5;
state->node_mode -= state->node_mode > 0 ? 1 : -6;
}
}