Skip to content

Commit

Permalink
Fix: Button pressing status is not consistent among 'Show Mouse Event…
Browse files Browse the repository at this point in the history
…s' options (#218)
  • Loading branch information
nutti committed Nov 9, 2024
1 parent d7e6fcc commit db42e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screencast_keys/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1867,7 +1867,7 @@ def modal(self, context, event):

# Redraw regions which we want.
prev_time = self.prev_time
if not self.is_ignore_event(event, prefs=prefs) or \
if not self.is_ignore_event(event) or \
prev_time and current_time - prev_time >= self.TIMER_STEP:
regions = self.find_redraw_regions(context)

Expand Down

0 comments on commit db42e41

Please sign in to comment.