You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update RawTurtle.clone() method.
1) moved self._newLine(self._drawing) after deepcopy()
2) added q.items.append(q.currentLineItem) after q.currentLineItem = screen._createline()
Reason for 1):
When clear method is called on the cloned Turtle object, the method also deletes the first line of the original Turtle object which is drawn after cloning.
Reason for 2):
When clear method is called on the cloned Turtle object, the method does not delete the first line of the cloned Turtle object which is drawn after cloning
0 commit comments