From 76dacb2c3e336a33ccd13c187b28da0b33dfb46b Mon Sep 17 00:00:00 2001 From: Matthew Sitton Date: Sun, 13 Sep 2015 22:30:48 -0500 Subject: [PATCH] Remove duplicated font rendering code. --- fofix/game/guitarscene/GuitarScene.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fofix/game/guitarscene/GuitarScene.py b/fofix/game/guitarscene/GuitarScene.py index 6ae058245..55763ab85 100644 --- a/fofix/game/guitarscene/GuitarScene.py +++ b/fofix/game/guitarscene/GuitarScene.py @@ -6239,10 +6239,7 @@ def render(self, visibility, topMost): #QQstarS: Fix this function for mostly. if self.song.info.version: extra = "%s \n v%s" % (extra, self.song.info.version) - if self.theme != 1: #shift this stuff down so it don't look so bad over top the lyricsheet: - Dialogs.wrapText(songFont, (self.songInfoDisplayX, self.songInfoDisplayX - h / 2), "%s \n %s%s%s%s%s" % (Song.removeSongOrderPrefixFromName(self.song.info.name), cover, self.song.info.artist, comma, self.song.info.year, extra), rightMargin = .6, scale = self.songInfoDisplayScale)#kk69: incorporates song.ttf - else: - Dialogs.wrapText(songFont, (self.songInfoDisplayX, self.songInfoDisplayY - h / 2), "%s \n %s%s%s%s%s" % (Song.removeSongOrderPrefixFromName(self.song.info.name), cover, self.song.info.artist, comma, self.song.info.year, extra), rightMargin = .6, scale = self.songInfoDisplayScale) + Dialogs.wrapText(songFont, (self.songInfoDisplayX, self.songInfoDisplayY - h / 2), "%s \n %s%s%s%s%s" % (Song.removeSongOrderPrefixFromName(self.song.info.name), cover, self.song.info.artist, comma, self.song.info.year, extra), rightMargin = .6, scale = self.songInfoDisplayScale) else: #mfh: this is where the song countdown display is generated: if countdownPos < 0: