Skip to content

Commit

Permalink
Fix bug after scrolling notemanager
Browse files Browse the repository at this point in the history
  • Loading branch information
j4321 committed Sep 6, 2017
1 parent 9b5695e commit 1b21e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 78 deletions.
76 changes: 0 additions & 76 deletions clip.svg

This file was deleted.

4 changes: 2 additions & 2 deletions mynoteslib/notemanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def __init__(self, master):
for txt in self.texts.values():
txt.configure(state='disabled')
self.geometry('410x450')
self.bind_all("<Button-4>", lambda e: self.scroll(-1))
self.bind_all("<Button-5>", lambda e: self.scroll(1))
self.bind("<Button-4>", lambda e: self.scroll(-1))
self.bind("<Button-5>", lambda e: self.scroll(1))

def delete_note(self, note_id):
self.master.delete_note(note_id)
Expand Down

0 comments on commit 1b21e06

Please sign in to comment.