Skip to content

Commit

Permalink
Remove duplicated font rendering code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Sep 14, 2015
1 parent 36605fa commit 76dacb2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fofix/game/guitarscene/GuitarScene.py
Expand Up @@ -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:
Expand Down

0 comments on commit 76dacb2

Please sign in to comment.