We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0188350 commit 34e7c3aCopy full SHA for 34e7c3a
CHANGELOG.md
@@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
6
7
## [Unreleased]
8
9
+## [21.1.0] - 2026-04-04
10
+
11
### Added
12
13
- `MouseButtonEvent.integer_position` property.
tcod/event.py
@@ -656,7 +656,7 @@ class MouseButtonEvent(Event):
656
def integer_position(self) -> Point[int]:
657
"""Integer coordinates of this event.
658
659
- .. versionadded:: Unreleased
+ .. versionadded:: 21.1
660
"""
661
x, y = self.position
662
return Point(floor(x), floor(y))
0 commit comments