aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/BannerSubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/mainmenu/BannerSubScene.cpp')
-rw-r--r--game/mainmenu/BannerSubScene.cpp5
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);
+
}