From 8ac202f9f6b0abb8f4e310d9170f291cc3106e40 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 25 May 2005 00:50:09 +0000 Subject: [PATCH] center text in combo span --- stepmania/src/ComboGraph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/ComboGraph.cpp b/stepmania/src/ComboGraph.cpp index ce8d27b488..a69a023769 100644 --- a/stepmania/src/ComboGraph.cpp +++ b/stepmania/src/ComboGraph.cpp @@ -70,6 +70,7 @@ void ComboGraph::Load( const CString& sScreen, const CString& sElement, const St BitmapText *text = new BitmapText; text->SetName( "ComboMaxNumber" ); text->LoadFromFont( THEME->GetPathF(sScreen,sElement) ); + text->SetHorizAlign( Actor::align_center ); const float start = SCALE( combo.fStartSecond, fFirstSecond, fLastSecond, 0.0f, 1.0f ); const float size = SCALE( combo.fSizeSeconds, 0, fLastSecond-fFirstSecond, 0.0f, 1.0f );