aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Button.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 20:18:44 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 20:18:44 +0100
commita5f8b34f4701863901e89abe5b0b604fd9e553b2 (patch)
treeb6c9e122206641dab43ec7ec44eba48bf5b87cd4 /src/crepe/api/Button.cpp
parent76f6c4d3e36b653aec79438ae4053ea24560236c (diff)
ui fixes for offset
Diffstat (limited to 'src/crepe/api/Button.cpp')
-rw-r--r--src/crepe/api/Button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Button.cpp b/src/crepe/api/Button.cpp
index c4f7f2d..8eadd89 100644
--- a/src/crepe/api/Button.cpp
+++ b/src/crepe/api/Button.cpp
@@ -3,7 +3,7 @@
namespace crepe {
Button::Button(
- game_object_id_t id, const vec2 & dimensions, const vec2 & offset, const Data & data
+ game_object_id_t id, const vec2 & dimensions, const Data & data, const vec2 & offset
)
: UIObject(id, dimensions, offset),
data(data) {}