Closed xanthome closed 3 months ago
https://github.com/AvaloniaUI/AvaloniaEdit/blob/934f022406334b95813ecb9040b9e8864b81e1ac/src/AvaloniaEdit.Demo/CustomMargin.cs#L115
is fixed with: double y = visualLine.VisualTop - TextView.VerticalOffset + visualLine.Height / 2;
double y = visualLine.VisualTop - TextView.VerticalOffset + visualLine.Height / 2;
cc @mgarstenauer can you please check this?
I was able to open a new PR for this. Please @mgarstenauer take a look if you can. Thanks!
https://github.com/AvaloniaUI/AvaloniaEdit/blob/934f022406334b95813ecb9040b9e8864b81e1ac/src/AvaloniaEdit.Demo/CustomMargin.cs#L115
is fixed with:
double y = visualLine.VisualTop - TextView.VerticalOffset + visualLine.Height / 2;