Skip to content

Commit 7299cc0

Browse files
committed
Fix unbound variable
# Fixes - Fixed simple error that should have been caught before releasing the previous version, sorry
1 parent 17bceb3 commit 7299cc0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mousetracks2/components/processing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ def _record_move(self, data: MovementMaps, position: tuple[int, int],
196196
moving, and will always skip the first frame of movement.
197197
"""
198198
# Convert pixels from logical coordinates to physical
199+
old_position = position
200+
new_position = data.position
199201
if force_monitor is None:
200202
old_position = self.monitor_data.coordinate(position)
201203
if data.position is None:

mousetracks2/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
- Fixed potential crash when thing happens ({commit_sha})
1818
"""
1919

20-
VERSION = '2.3.4'
20+
VERSION = '2.3.5'

0 commit comments

Comments
 (0)