mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:19:47 +02:00
TAChart: Restore previous behavior of TDataPointDragTool being able to change both x and y values (lost in r53954 #c4a923c858).
git-svn-id: trunk@54271 -
This commit is contained in:
parent
673bc11392
commit
9d64ee4506
@ -1425,10 +1425,11 @@ begin
|
||||
sp := GraphToAxis(ANewPos);
|
||||
case AYIndex of
|
||||
-1: begin
|
||||
ListSource.SetXValue(AIndex, sp.X);
|
||||
ListSource.SetYValue(AIndex, sp.Y);
|
||||
// ListSource.SetXValue(AIndex, sp.X);
|
||||
// ListSource.SetYValue(AIndex, sp.Y);
|
||||
end;
|
||||
0: begin
|
||||
ListSource.SetXValue(AIndex, sp.X);
|
||||
ListSource.SetYValue(AIndex, sp.Y);
|
||||
end;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user