Just as the title says, I am trying to make _draw_port draw with a custom icon for certain nodes. This in of itself works, as shown in the image. However, when zooming in, the default icon (obtained via get_theme_icon("port", "GraphNode")) remains sharp, while my own icons look very blurry.
I used the original icon (found at https://github.com/godotengine/godot/blob/master/scene/theme/icons/graph_port.svg) as reference, but even when copy-pasting that into my project and using it, it still looks low-quality compared to the get_theme_icon one, so there must be more going on behind the scenes. Does anyone know the difference?
The only thing that stuck out to me was that, while the SVG file has a width and height of 10, the loaded icon has one of 12, and i don't know why.
I appreciate every bit of help!