diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 15:54:17 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 15:54:17 +0100 |
commit | 8d53634e2f47a616ff90f114fe1afbc2ba4df094 (patch) | |
tree | 5a5e11e9c54c845a5dd570bb76aa73724acc5dd9 /src/crepe/api/Text.h | |
parent | 0524c68cc4eb9fbd36c17ed4f5d8152cac2f977b (diff) | |
parent | a8ccf7fe8662086bb223aa4eafd0f85e717d16cf (diff) |
Merge branch 'master' into niels/UI
Diffstat (limited to 'src/crepe/api/Text.h')
-rw-r--r-- | src/crepe/api/Text.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Text.h b/src/crepe/api/Text.h index 92cca18..c30dc80 100644 --- a/src/crepe/api/Text.h +++ b/src/crepe/api/Text.h @@ -51,8 +51,7 @@ public: * \param font Optional font asset that can be passed or left empty. */ Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset, - const std::string & font_family, const Data & data, const std::string & text = "", - std::optional<Asset> font = std::nullopt); + const std::string & font_family, const Data & data, const std::string & text = ""); //! Label text. std::string text = ""; |