aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Text.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 09:09:32 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 09:09:32 +0100
commitbfc07676707eae2c0161c6b86ccdd1583d96f71b (patch)
treeb18bd17b0d07b3b51b2461462e3380d36905e61f /src/crepe/api/Text.h
parent2f8d36a33854715828d412792663f355b9e393ae (diff)
parentd63eb7302d05fbe9b4c044ece3444e8ac4e56e02 (diff)
Merge branch 'wouter/text-component' into niels/UI
Diffstat (limited to 'src/crepe/api/Text.h')
-rw-r--r--src/crepe/api/Text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Text.h b/src/crepe/api/Text.h
index fbb1ad6..ec0bf74 100644
--- a/src/crepe/api/Text.h
+++ b/src/crepe/api/Text.h
@@ -53,7 +53,7 @@ public:
//! Label text.
std::string text = "";
//! Font asset variable
- Asset font;
+ const Asset font;
//! Data instance
Data data;
};