Sped up the algorithm of checking mouse enter and leave events.

This commit is contained in:
Joey Payne 2014-02-11 16:03:10 -07:00
commit fc8fc312a9
4 changed files with 118 additions and 105 deletions

View file

@ -1,6 +1,6 @@
from __future__ import print_function
from jgui.settings import DEBUG
import jgui.settings as settings
def log(*args):
if DEBUG:
if settings.DEBUG:
print(*args)