-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CanvasItem.draw_polyline does not draw 1px lines when width<=1.0 #44332
Comments
This may actually be intended, see godotengine/godot-proposals#1363. We should support both use cases but we probably have to find another way to do that. I think scaling 1-pixel lines by default is a better idea, but there should still be a way to draw "hairline" width lines that don't scale with the viewport. |
I do agree that width=1 shouldn't create pixel-thin lines and I generally prefer the behavior demonstrated in this issue. |
I think adding the But if this is not desired I can restore it to the old state. |
Godot version:
4.0 7195f6b
OS/device including version:
Vulkan
Issue description:
Following changes in 3ec972f, support for drawing thin lines with draw_polyline seems to have been removed. I believe this is in error.
Using the code:
when zoomed in, the line should be 1px wide, but it looks like this:
Steps to reproduce:
See above
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: