Skip to content
Snippets Groups Projects
Commit 1f0494ce authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

comment added

parent 9a4a1f0b
No related branches found
No related tags found
No related merge requests found
...@@ -277,6 +277,7 @@ class Controller(object): ...@@ -277,6 +277,7 @@ class Controller(object):
# If the mouse is held down, enqueue an event in our own queue # If the mouse is held down, enqueue an event in our own queue
# The intention was to avoid too many redraws. # The intention was to avoid too many redraws.
# Reset the lrcStroke list, if ALT, CTRL or SHIFT pressed
if event["buttons"] > 0: if event["buttons"] > 0:
qEvents.append((time.time(), x, y)) qEvents.append((time.time(), x, y))
bShift = event["shiftKey"] bShift = event["shiftKey"]
...@@ -299,7 +300,6 @@ class Controller(object): ...@@ -299,7 +300,6 @@ class Controller(object):
return return
else: else:
self.lrcStroke = [] self.lrcStroke = []
if self.model.iSelectedAgent is not None: if self.model.iSelectedAgent is not None:
self.lrcStroke = [] self.lrcStroke = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment