Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,13 @@ def main():
if cv2.waitKey(1) & 0xFF == ord('s'):
newCanvas.save_drawing()
break

if cv2.waitKey(1) & 0xFF == ord('d'):
if disappr:
disappr = False
else:
disappr = True
if cv2.waitKey(1) & 0xFF == ord('q'):
break
if cv2.waitKey(1) & 0xFF == ord('d'):
disappr = ~disappr

if cv2.waitKey(1) & 0xFF == ord('c'):
newCanvas.clear()

Expand Down