- 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;
|
||||
end;
|
||||
|
||||
if oldNode <> newNodePosition then
|
||||
//oldNode = nil, if the change happend out-of-screen
|
||||
if (oldNode <> nil ) and (oldNode <> newNodePosition) then
|
||||
begin
|
||||
if oldNodePrev <> oldNode then
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue