File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
66
77## [ Unreleased]
88
9+ ## [ 21.2.0] - 2026-04-04
10+
911### Added
1012
1113- ` tcod.event.MouseWheel ` now has ` which ` , ` window_id ` , ` position ` and ` integer_position ` attributes.
Original file line number Diff line number Diff line change @@ -728,26 +728,26 @@ class MouseWheel(Event):
728728 position : Point [float ] = attrs .field (default = Point (0.0 , 0.0 ))
729729 """Coordinates of the mouse for this event.
730730
731- .. versionadded:: Unreleased
731+ .. versionadded:: 21.2
732732 """
733733
734734 which : int = 0
735735 """Mouse device ID for this event.
736736
737- .. versionadded:: Unreleased
737+ .. versionadded:: 21.2
738738 """
739739
740740 window_id : int = 0
741741 """Window ID with mouse focus.
742742
743- .. versionadded:: Unreleased
743+ .. versionadded:: 21.2
744744 """
745745
746746 @property
747747 def integer_position (self ) -> Point [int ]:
748748 """Integer coordinates of this event.
749749
750- .. versionadded:: Unreleased
750+ .. versionadded:: 21.2
751751 """
752752 x , y = self .position
753753 return Point (floor (x ), floor (y ))
You can’t perform that action at this time.
0 commit comments