Resize on hover taken out. ModNode introduced but needs a better ui approach.

This commit is contained in:
Sebastian
2024-12-13 00:30:31 +01:00
parent bc8c433e47
commit 7f2d16932f
5 changed files with 346 additions and 31 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ namespace VISEQ::SIGNAL {
void addSignalAtNode(WPTR_Node node){
Color c = {(unsigned char)(20 + (rand() % 200)), 100, (unsigned char)(20 + (int)(rand() % 200)), 200};
signals.emplace_back(std::make_shared<Signal>(node.lock()->position + Vec2Df{0.5f, 0.5f}, 8.0f, 0, c)); // position + 1 or else it does not render. why? no idea!
signals.emplace_back(std::make_shared<Signal>(node.lock()->position + Vec2Df{0.5f, 0.5f}, 8.0f, 480, c)); // position + 1 or else it does not render. why? no idea!
signals.back()->next = node;
signals.back()->last = node;
signals.back()->start = node;