Skip to content

Commit 9f702a2

Browse files
authored
Use correct rect setter (#81)
1 parent e84caa2 commit 9f702a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cheat_sheet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def resize(self, width: int, height: int):
6262
width,
6363
height,
6464
)
65-
self.canvas.set_rect(rect)
65+
self.canvas.rect = rect
6666

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

0 commit comments

Comments
 (0)