diff --git a/flatland/utils/editor.py b/flatland/utils/editor.py index 4dcd4ef248f3405678f5d600068b48c52d4cccdb..25e11a4d600e5d40fe9ba974a4b57b084b3c4e57 100644 --- a/flatland/utils/editor.py +++ b/flatland/utils/editor.py @@ -277,6 +277,7 @@ class Controller(object): # If the mouse is held down, enqueue an event in our own queue # The intention was to avoid too many redraws. + # Reset the lrcStroke list, if ALT, CTRL or SHIFT pressed if event["buttons"] > 0: qEvents.append((time.time(), x, y)) bShift = event["shiftKey"] @@ -299,7 +300,6 @@ class Controller(object): return else: self.lrcStroke = [] - if self.model.iSelectedAgent is not None: self.lrcStroke = []