Skip to content

SP5: Fix label text wrong position when offset is specified#3865

Closed
ValeraTychov wants to merge 1 commit intoScottPlot:mainfrom
ValeraTychov:fix-label-text-position
Closed

SP5: Fix label text wrong position when offset is specified#3865
ValeraTychov wants to merge 1 commit intoScottPlot:mainfrom
ValeraTychov:fix-label-text-position

Conversation

@ValeraTychov
Copy link
Contributor

Fixes #3836

Copy link
Member

@bclehmann bclehmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case anyone is confused, the issue comes from the offset already being applied in Label.Render:223, where the canvas is translated by (OffsetX, OffsetY)

@ValeraTychov ValeraTychov deleted the fix-label-text-position branch June 3, 2024 00:40
@bclehmann
Copy link
Member

Hey uh, why'd you close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vertical line: label text position is incorrect

2 participants