mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-24 08:59:38 +01:00
TAChart: Fix inverted Y axis on TChartNavPanel's minimap. Issue #22978
git-svn-id: trunk@38841 -
This commit is contained in:
parent
f914971497
commit
dc82e7be1e
@ -329,7 +329,7 @@ procedure TChartNavPanel.Paint;
|
|||||||
a := a * FScale + FOffset;
|
a := a * FScale + FOffset;
|
||||||
b := b * FScale + FOffset;
|
b := b * FScale + FOffset;
|
||||||
Result := Rect(
|
Result := Rect(
|
||||||
Round(a.X), Height - Round(a.Y), Round(b.X), Height - Round(b.Y));
|
Round(a.X), Height - Round(b.Y), Round(b.X), Height - Round(a.Y));
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user