From 7a3767bc093903da08856497876c8699c699caa2 Mon Sep 17 00:00:00 2001 From: jianmingyong Date: Sun, 26 Mar 2017 01:36:39 +0800 Subject: [PATCH] Remove the stupid old GJ point bar. --- 2.5DHero/2.5DHero/Screens/NewTrainerScreen.vb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/2.5DHero/2.5DHero/Screens/NewTrainerScreen.vb b/2.5DHero/2.5DHero/Screens/NewTrainerScreen.vb index 40d7e9ec9..6e5baebd4 100644 --- a/2.5DHero/2.5DHero/Screens/NewTrainerScreen.vb +++ b/2.5DHero/2.5DHero/Screens/NewTrainerScreen.vb @@ -217,15 +217,15 @@ _textBatch.DrawString(FontManager.MiniFont, "Need " & needPoints & " points", New Vector2(280, 318), Color.Black) End If - If totalNeedPoints > 0 Then - Canvas.DrawScrollBar(New Vector2(140, 380), totalNeedPoints, hasPointsThisLevel, 0, New Size(320, 16), True, Color.Black, New Color(255, 165, 0)) - Canvas.DrawScrollBar(New Vector2(140, 380), totalNeedPoints, hasPointsThisLevel, 0, New Size(320, 6), True, Color.Black, New Color(255, 203, 108)) - Else - Canvas.DrawRectangle(New Rectangle(140, 380, 320, 16), Color.Black) - End If + 'If totalNeedPoints > 0 Then + ' Canvas.DrawScrollBar(New Vector2(140, 380), totalNeedPoints, hasPointsThisLevel, 0, New Size(320, 16), True, Color.Black, New Color(255, 165, 0)) + ' Canvas.DrawScrollBar(New Vector2(140, 380), totalNeedPoints, hasPointsThisLevel, 0, New Size(320, 6), True, Color.Black, New Color(255, 203, 108)) + 'Else + ' Canvas.DrawRectangle(New Rectangle(140, 380, 320, 16), Color.Black) + 'End If - Core.SpriteBatch.DrawString(FontManager.MiniFont, "Rank: " & currentLevel, New Vector2(100, 400), Color.Black) - Core.SpriteBatch.DrawString(FontManager.MiniFont, "Rank: " & currentLevel + 1, New Vector2(430, 400), Color.Black) + 'Core.SpriteBatch.DrawString(FontManager.MiniFont, "Rank: " & currentLevel, New Vector2(100, 400), Color.Black) + 'Core.SpriteBatch.DrawString(FontManager.MiniFont, "Rank: " & currentLevel + 1, New Vector2(430, 400), Color.Black) End Sub