Major refactoring: State, mouse and more...
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ namespace VISEQ::BASE {
|
||||
|
||||
virtual void drag() override {
|
||||
Vec2Df mp = {GetMousePosition().x, GetMousePosition().y};
|
||||
DrawLineV(position, mp, (Color){229, 181, 103, 255});
|
||||
DrawLineV(position, state->mod_mouse, (Color){229, 181, 103, 255});
|
||||
}
|
||||
|
||||
void update() override{
|
||||
|
||||
Reference in New Issue
Block a user