Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions arcade/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -1543,21 +1543,21 @@ def on_mouse_leave(self, x: int, y: int) -> bool | None:
pass

@property
def size(self) -> tuple[float, float]:
def size(self) -> tuple[int, int]:
"""
An alias for `arcade.Window.size`
"""
return self.window.size

@property
def width(self) -> float:
def width(self) -> int:
"""
An alias for `arcade.Window.width`
"""
return self.window.width

@property
def height(self) -> float:
def height(self) -> int:
"""
An alias for `arcade.Window.height`
"""
Expand Down
Loading