No need to center selected node vertically normally. Should make selecting the next node after deletions in datagrid nicer. See issue #1471.

This commit is contained in:
Ansgar Becker
2009-11-29 00:21:00 +00:00
parent 8ac6fbd15c
commit 1b1a2c2edc

View File

@ -2828,7 +2828,7 @@ begin
VT.ClearSelection; VT.ClearSelection;
VT.FocusedNode := Node; VT.FocusedNode := Node;
VT.Selected[Node] := True; VT.Selected[Node] := True;
VT.ScrollIntoView(Node, True); VT.ScrollIntoView(Node, False);
end; end;