From 9b8546abb2bfdc3af1fc2867ce7fb7ae8704849e Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Tue, 20 Oct 2015 16:13:33 +0200 Subject: [PATCH] Fixed your score frames --- include/Game/GUI/HUD.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/Game/GUI/HUD.h b/include/Game/GUI/HUD.h index 2a7d889..fa12856 100644 --- a/include/Game/GUI/HUD.h +++ b/include/Game/GUI/HUD.h @@ -76,17 +76,17 @@ private: { m_ScoreNumberFrame->SetLeft(Width / 2.f - m_ScoreNumberFrame->Width / 2.f); - m_ScoreBackMid->SetLeft(m_ScoreNumberFrame->Left()); m_ScoreBackMid->Width = m_ScoreNumberFrame->Width; m_ScoreBackMid->Height = m_ScoreNumberFrame->Height + 35; + m_ScoreBackMid->SetLeft(m_ScoreNumberFrame->Left() + 4); - m_ScoreBackLeft->SetRight(m_ScoreBackMid->Left()); - m_ScoreBackLeft->Width = 40; + //m_ScoreBackLeft->Width = 40; m_ScoreBackLeft->Height = m_ScoreBackMid->Height; + m_ScoreBackLeft->SetRight(m_ScoreBackMid->Left()); - m_ScoreBackRight->SetLeft(m_ScoreBackMid->Right()); - m_ScoreBackRight->Width = 40; + //m_ScoreBackRight->Width = 40; m_ScoreBackRight->Height = m_ScoreBackMid->Height; + m_ScoreBackRight->SetLeft(m_ScoreBackMid->Right()); } bool OnScore(const Events::ScoreEvent& event)