mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
cc17a1882e
commit
0d35c76c12
1 changed files with 1 additions and 3 deletions
|
|
@ -278,9 +278,7 @@ private:
|
||||||
swapVariables (rowStart, rowEnd);
|
swapVariables (rowStart, rowEnd);
|
||||||
|
|
||||||
int ourRow = item->getRowNumberInTree();
|
int ourRow = item->getRowNumberInTree();
|
||||||
int otherEnd = ourRow < rowEnd ? (ourRow < rowStart ? (rowStart - 1)
|
int otherEnd = ourRow < rowEnd ? rowStart : rowEnd;
|
||||||
: rowStart)
|
|
||||||
: (rowEnd + 1);
|
|
||||||
|
|
||||||
if (ourRow > otherEnd)
|
if (ourRow > otherEnd)
|
||||||
swapVariables (ourRow, otherEnd);
|
swapVariables (ourRow, otherEnd);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue