Skip to content

Commit

Permalink
Version 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaccarthy committed Apr 22, 2023
1 parent f2a1b3f commit cf7bcd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sc8pr/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def __init__(self, srf, bg=None):
srf = pygame.Surface(srf, pygame.SRCALPHA)
if bg is not None:
srf.fill(bg if type(bg) is pygame.Color else rgba(bg))
self.original = srf
self.original = srf if type(srf) is pygame.Surface else surface(srf)
self.dumpCache()

def dumpCache(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sc8pr
version = 3.0.1
version = 3.0.2
author = D.G. MacCarthy
author_email = sc8pr.py@gmail.com
url = https://dmaccarthy.github.io/sc8pr
Expand Down

0 comments on commit cf7bcd9

Please sign in to comment.