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, 4 insertions, 1 deletions
diff --git a/game/mainmenu/BannerSubScene.cpp b/game/mainmenu/BannerSubScene.cpp
index ed093aa..ba4c126 100644
--- a/game/mainmenu/BannerSubScene.cpp
+++ b/game/mainmenu/BannerSubScene.cpp
@@ -33,6 +33,9 @@ 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, MainMenuConfig::FONT, Text::Data{.text_color = Color::WHITE,}, data.banner_title_offset + MainMenuConfig::FONTOFFSET, data.banner_title);
+ menu_banner.add_component<Text>( size, MainMenuConfig::FONT, Text::Data{
+ .world_space = true,
+ .text_color = Color::WHITE,
+ }, data.banner_title_offset + MainMenuConfig::FONTOFFSET, data.banner_title);
}