mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Added a sort method to the TreeView class.
This commit is contained in:
parent
22ecd45505
commit
fe4a37ef49
6 changed files with 84 additions and 8 deletions
|
|
@ -2735,11 +2735,11 @@ void Component::internalMouseDrag (int x, int y, const int64 time)
|
|||
|
||||
x += unboundedMouseOffsetX;
|
||||
y += unboundedMouseOffsetY;
|
||||
|
||||
|
||||
int gx = x, gy = y;
|
||||
relativePositionToGlobal (gx, gy);
|
||||
desktop.registerMouseDrag (gx, gy);
|
||||
|
||||
|
||||
const ComponentDeletionWatcher deletionChecker (this);
|
||||
|
||||
int mdx, mdy;
|
||||
|
|
@ -2747,7 +2747,7 @@ void Component::internalMouseDrag (int x, int y, const int64 time)
|
|||
globalPositionToRelative (mdx, mdy);
|
||||
|
||||
const Time lastMouseDownTime (desktop.getLastMouseDownTime());
|
||||
|
||||
|
||||
const MouseEvent me (x, y,
|
||||
ModifierKeys::getCurrentModifiers(),
|
||||
this,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue