- Fixed UpdateSortOrder to handle off-screen updates correctly
This commit is contained in:
parent
a74bfce923
commit
0f2130730b
|
@ -1421,7 +1421,8 @@ begin
|
||||||
current := current^.Next;
|
current := current^.Next;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if oldNode <> newNodePosition then
|
//oldNode = nil, if the change happend out-of-screen
|
||||||
|
if (oldNode <> nil ) and (oldNode <> newNodePosition) then
|
||||||
begin
|
begin
|
||||||
if oldNodePrev <> oldNode then
|
if oldNodePrev <> oldNode then
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue