diff options
-rw-r--r-- | src/test/InputTest.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/InputTest.cpp b/src/test/InputTest.cpp index 0c81cfa..cde774f 100644 --- a/src/test/InputTest.cpp +++ b/src/test/InputTest.cpp @@ -233,9 +233,6 @@ TEST_F(InputTest, testButtonClick) { bool hover = false; button.active = true; - - button.is_pressed = false; - button.is_toggle = false; this->simulate_mouse_click(999, 999, SDL_BUTTON_LEFT); input_system.update(); event_manager.dispatch_events(); @@ -258,8 +255,6 @@ TEST_F(InputTest, testButtonHover) { auto & button = button_obj.add_component<Button>(vec2{100, 100}, vec2{0, 0}, on_click, false); button.active = true; - button.is_pressed = false; - button.is_toggle = false; // Mouse not on button SDL_Event event; |