Skip to content

Commit

Permalink
Merge pull request #43 from Elckarow/python-3
Browse files Browse the repository at this point in the history
update deprecated stuff
  • Loading branch information
Bronya-Rand authored May 28, 2022
2 parents 6ad6023 + 1cae810 commit a233c52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions game/mod_extras/gallery.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if enable_gallery:
self.unlocked = eval(unlocked)

if sprite:
self.image = LiveComposite(
self.image = Composite(
(config.screen_width, config.screen_height), (0, 0),
"black", (0.2 * (config.screen_width / 1280.0), 0),
Transform(image, zoom=0.75*0.95)
Expand All @@ -63,18 +63,18 @@ if enable_gallery:
if small_size:
self.small_size = small_size
else:
self.small_size = LiveComposite(
self.small_size = Composite(
(234, 132), (0, 0),
"black", (0.2, 0),
Transform(image, zoom=0.137)
)
else:
self.image = Transform(image, size=(config.screen_width, config.screen_height-40))
self.image = Transform(image, xysize=(config.screen_width, config.screen_height-40))

if small_size:
self.small_size = small_size
else:
self.small_size = Transform(image, size=(234, 132))
self.small_size = Transform(image, xysize=(234, 132))

galleryList[self.name] = self

Expand Down

0 comments on commit a233c52

Please sign in to comment.