Skip to content

Commit

Permalink
don't adjust photo backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
pannal committed Sep 9, 2018
1 parent d928601 commit de43e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/windows/photos.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _reallyShowPhoto(self):
url = photo.server.getImageTranscodeURL(meta.get('url', ''), self.width, self.height)
self.setRotation(0)
self.setProperty('photo', url)
self.setProperty('background', util.backgroundFromArt(photo.thumb, width=self.width, height=self.height))
self.setProperty('background', photo.thumb.asTranscodedImageURL(self.width, self.height, blur=128, opacity=60, background=colors.noAlpha.Background))

self.setProperty('photo.title', photo.title)
self.setProperty('photo.date', util.cleanLeadingZeros(photo.originallyAvailableAt.asDatetime('%d %B %Y')))
Expand Down

0 comments on commit de43e77

Please sign in to comment.