Skip to content

Commit

Permalink
fix: prevent cursor from hiding while dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhd1701 committed Nov 1, 2021
1 parent 89e3905 commit b08f360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gridplayer/player/managers/mouse_hide.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def hide_cursor(self):
if not self._ctx.video_blocks or is_modal_open():
return

if QApplication.overrideCursor() != Qt.BlankCursor:
if QApplication.overrideCursor() is None:
QApplication.setOverrideCursor(Qt.BlankCursor)

self.mouse_hidden.emit()
Expand Down

0 comments on commit b08f360

Please sign in to comment.