From 596358ffea72aec48b389609349f717e76396ae2 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 25 Nov 2024 11:17:20 +0100 Subject: button test working --- src/crepe/system/InputSystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe/system/InputSystem.h') diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h index db6b374..5f71687 100644 --- a/src/crepe/system/InputSystem.h +++ b/src/crepe/system/InputSystem.h @@ -21,7 +21,7 @@ private: MouseButton last_mouse_button = MouseButton::NONE; const int click_tolerance = 5; void handle_click(const MouseReleaseEvent); - + void handle_move(const MouseMoveEvent); Transform* find_transform_for_button(Button &button, std::vector> &transforms); bool is_mouse_inside_button(const MouseReleaseEvent &event, const Button &button, const Transform &transform); -- cgit v1.2.3