aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 14:19:51 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 14:19:51 +0100
commitb6167713c11e26f513f0c5b82701e6cee88de8cb (patch)
tree7d318bec804dba23cced856c5088701483db45fd
parent65747afc0dadd7f0d9d93f1d0984f442c11eec82 (diff)
removed unnecesary lines
-rw-r--r--src/test/InputTest.cpp5
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;