Skip to content

Commit

Permalink
Credits background scale
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzion committed Jul 29, 2010
1 parent 87f2b4c commit 03613ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Credits.py
Expand Up @@ -378,8 +378,7 @@ def render(self, visibility, topMost):

self.engine.view.setOrthogonalProjection(normalize = True)
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)
else:
Dialogs.fadeScreen(.4)
font = self.engine.data.font
Expand Down

0 comments on commit 03613ad

Please sign in to comment.