Thanks to visit codestin.com Credit goes to github.com
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 6268db5 commit c179c2dCopy full SHA for c179c2d
1 file changed
examples/widgets/annotated_cursor.py
@@ -145,9 +145,8 @@ def onmove(self, event):
145
# Skip even the call of the base class, because this would restore the
146
# background, draw the cursor lines and would leave us the job to
147
# re-draw the text.
148
- if plotpoint is not None:
149
- if plotpoint == self.lastdrawnplotpoint:
150
- return
+ if plotpoint is not None and plotpoint == self.lastdrawnplotpoint:
+ return
151
152
# Baseclass redraws canvas and cursor. Due to blitting,
153
# the added text is removed in this call, because the
0 commit comments