Skip to content

Commit

Permalink
Use correct rect setter (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
SCdF authored Sep 30, 2021
1 parent e84caa2 commit 9f702a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cheat_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def resize(self, width: int, height: int):
width,
height,
)
self.canvas.set_rect(rect)
self.canvas.rect = rect

def mouse(self, e):
if e.event == "mousedown" and e.button == 0:
Expand Down

0 comments on commit 9f702a2

Please sign in to comment.