Fix #10297: compare tree event time with only mouse press time.
Merge pull request #819 from mtbc/trac-10297-dev

Fix #10297: compare tree event time with only mouse press time.