diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 19:52:46 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 19:52:46 +0100 |
commit | 209957a36c19968292032ead5974a695b22ffceb (patch) | |
tree | a238b75fb568fbcfde91542933caa27585e636a4 /game/mainmenu/BannerSubScene.cpp | |
parent | 41b1941f9ce1b0b31d2d5a3f0b34b0d3d6a0027a (diff) |
merge
Diffstat (limited to 'game/mainmenu/BannerSubScene.cpp')
-rw-r--r-- | game/mainmenu/BannerSubScene.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/game/mainmenu/BannerSubScene.cpp b/game/mainmenu/BannerSubScene.cpp index 8de5711..ed093aa 100644 --- a/game/mainmenu/BannerSubScene.cpp +++ b/game/mainmenu/BannerSubScene.cpp @@ -33,7 +33,6 @@ void BannerSubScene::create(Scene & scn,const Data & data){ }); crepe::vec2 size = {data.banner_title_width,(data.banner_title_width/data.banner_title.size())*2}; - menu_banner.add_component<Text>(size,data.banner_title_offset + MainMenuConfig::FONTOFFSET, MainMenuConfig::FONT, Text::Data{ - .text_color = Color::WHITE, - }, data.banner_title); + menu_banner.add_component<Text>( size, MainMenuConfig::FONT, Text::Data{.text_color = Color::WHITE,}, data.banner_title_offset + MainMenuConfig::FONTOFFSET, data.banner_title); + } |