mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 12:30:36 +02:00
cody: lvlgraph: fixed draw scrolled edge
git-svn-id: trunk@40446 -
This commit is contained in:
parent
7255f919e4
commit
cd83893809
@ -1812,7 +1812,7 @@ begin
|
|||||||
TargetNode:=Edge.Target;
|
TargetNode:=Edge.Target;
|
||||||
EdgeHighlighted:=HighlightedElements.Find(Edge)<>nil;
|
EdgeHighlighted:=HighlightedElements.Find(Edge)<>nil;
|
||||||
if EdgeHighlighted<>Highlighted then continue;
|
if EdgeHighlighted<>Highlighted then continue;
|
||||||
x1:=Level.DrawPosition+ScrollLeft;
|
x1:=Level.DrawPosition-ScrollLeft;
|
||||||
y1:=Node.DrawCenter-ScrollTop;
|
y1:=Node.DrawCenter-ScrollTop;
|
||||||
x2:=TargetNode.Level.DrawPosition-ScrollLeft;
|
x2:=TargetNode.Level.DrawPosition-ScrollLeft;
|
||||||
y2:=TargetNode.DrawCenter-ScrollTop;
|
y2:=TargetNode.DrawCenter-ScrollTop;
|
||||||
|
Loading…
Reference in New Issue
Block a user