From 21476c2c956b9ec7bb6ddea07806050d509e0d57 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 08 Oct 2013 13:44:01 +0000 Subject: debounce hover help toggle --- (limited to 'turtleblocks.py') diff --git a/turtleblocks.py b/turtleblocks.py index 24b6343..d982307 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -619,6 +619,8 @@ Would you like to save before quitting?')) def _do_hover_help_off_cb(self, button): ''' Turn hover help off ''' + if self.tw.no_help: # Debounce + return self.tw.no_help = True self.tw.last_label = None if self.tw.status_spr is not None: -- cgit v0.9.1