Skip to content

Commit

Permalink
Theme: dialog and scene are not instance vars
Browse files Browse the repository at this point in the history
  • Loading branch information
stump committed Jan 9, 2013
1 parent f22b5d8 commit c815c52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Theme.py
Expand Up @@ -928,7 +928,7 @@ def renderPanels(self, dialog):
wP = w*self.theme.partDiffPanelSize[0]
hP = h*self.theme.partDiffPanelSize[1]
glColor3f(*self.theme.partDiffHeaderColor)
self.dialog.engine.fadeScreen(-2.00)
dialog.engine.fadeScreen(-2.00)
if self.theme.partDiffTitleText:
dialog.fontDict[self.theme.partDiffTitleTextFont].render(self.theme.partDiffTitleText, self.theme.partDiffTitleTextPos, scale = self.theme.partDiffTitleTextScale, align = self.theme.partDiffTitleTextAlign)
if self.theme.partDiffSubtitleText:
Expand Down Expand Up @@ -2459,7 +2459,7 @@ def renderMoreInfo(self, scene):
y = 0
w, h = scene.geometry
font = scene.fontDict['songListFont']
self.scene.engine.fadeScreen(0.25)
scene.engine.fadeScreen(0.25)
if scene.moreInfoTime < 500:
y = 1.0-(float(scene.moreInfoTime)/500.0)
yI = y*h
Expand Down

0 comments on commit c815c52

Please sign in to comment.