From b6167713c11e26f513f0c5b82701e6cee88de8cb Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 9 Dec 2024 14:19:51 +0100 Subject: removed unnecesary lines --- src/test/InputTest.cpp | 5 ----- 1 file changed, 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