1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Added a sort method to the TreeView class.

This commit is contained in:
Julian Storer 2010-02-03 23:03:38 +00:00
parent 22ecd45505
commit fe4a37ef49
6 changed files with 84 additions and 8 deletions

View file

@ -244,7 +244,7 @@ void Desktop::registerMouseDown (int x, int y, int64 time, Component* component)
void Desktop::registerMouseDrag (int x, int y) throw()
{
mouseMovedSignificantlySincePressed
mouseMovedSignificantlySincePressed
= mouseMovedSignificantlySincePressed
|| abs (mouseDowns[0].x - x) >= 4
|| abs (mouseDowns[0].y - y) >= 4;