Skip to content

Commit

Permalink
GuitarScene lyricSheet scale
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzion committed Jul 28, 2010
1 parent 5488891 commit b0f4d91
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/GuitarScene.py
Expand Up @@ -1482,10 +1482,6 @@ def __init__(self, engine, libraryName, songName):
else:
self.lyricSheet = None


if self.lyricSheet:
imgwidth = self.lyricSheet.width1()
self.lyricSheetScaleFactor = 640.000/imgwidth

#brescorebackground.png
if self.engine.loadImgDrawing(self, "breScoreBackground", os.path.join("themes",themename,"brescorebackground.png")):
Expand Down Expand Up @@ -5620,7 +5616,7 @@ def render(self, visibility, topMost): #QQstarS: Fix this function for mostly.
self.renderVocals()
#MFH: render the note sheet just on top of the background:
if self.lyricSheet != None and not self.playingVocals:
self.engine.drawImage(self.lyricSheet, scale = (self.lyricSheetScaleFactor,-self.lyricSheetScaleFactor), coord = (w/2, h*0.935))
self.engine.drawImage(self.lyricSheet, scale = (1.0,-1.0), coord = (w/2, h*0.935), stretched = 1)
#the timing line on this lyric sheet image is approx. 1/4 over from the left
#MFH - also render the scrolling lyrics & sections before changing viewports:

Expand Down

0 comments on commit b0f4d91

Please sign in to comment.