projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c64c1
)
flake8
author
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 17:21:02 +0000
(19:21 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 17:21:02 +0000
(19:21 +0200)
tabakrolletjie/widgets.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/widgets.py
b/tabakrolletjie/widgets.py
index 3d12a30840b20cf49c40390a6be5707b8801342b..2678e72c46cce18b390686ee079dda184ee1e56b 100644
(file)
--- a/
tabakrolletjie/widgets.py
+++ b/
tabakrolletjie/widgets.py
@@
-78,6
+78,6
@@
class ImageButton(Button):
def update_image(self, *imgparts, **kwargs):
transform = kwargs.pop("transform", NullTransform())
self._img = loader.load_image(*imgparts, transform=transform)
-
+
def render(self, surface):
surface.blit(self._img, self._pos, None)