mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 10:59:07 +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);
|
sp := GraphToAxis(ANewPos);
|
||||||
case AYIndex of
|
case AYIndex of
|
||||||
-1: begin
|
-1: begin
|
||||||
ListSource.SetXValue(AIndex, sp.X);
|
// ListSource.SetXValue(AIndex, sp.X);
|
||||||
ListSource.SetYValue(AIndex, sp.Y);
|
// ListSource.SetYValue(AIndex, sp.Y);
|
||||||
end;
|
end;
|
||||||
0: begin
|
0: begin
|
||||||
|
ListSource.SetXValue(AIndex, sp.X);
|
||||||
ListSource.SetYValue(AIndex, sp.Y);
|
ListSource.SetYValue(AIndex, sp.Y);
|
||||||
end;
|
end;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user