Skip to content

Commit

Permalink
GameResultsScene background scale
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzion committed Jul 27, 2010
1 parent fef240b commit 86002fa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/GameResultsScene.py
Expand Up @@ -820,8 +820,7 @@ def renderInitialScore(self, visibility, topMost):

w, h = self.fullView
if self.background:
wFactor = 640.000/self.background.width1()
self.engine.drawImage(self.background, scale = (wFactor,-wFactor), coord = (w/2,h/2))
self.engine.drawImage(self.background, scale = (1.0,-1.0), coord = (w/2,h/2), stretched = 3)

self.engine.theme.setBaseColor(1-v)

Expand Down Expand Up @@ -1020,8 +1019,7 @@ def renderInitialCoOpScore(self, visibility, topMost):

w, h = self.fullView
if self.background:
wFactor = 640.000/self.background.width1()
self.engine.drawImage(self.background, scale = (wFactor,-wFactor), coord = (w/2,h/2))
self.engine.drawImage(self.background, scale = (1.0,-1.0), coord = (w/2,h/2), stretched = 3)

self.engine.theme.setBaseColor(1-v)

Expand Down

0 comments on commit 86002fa

Please sign in to comment.