Hey there,
I have an issue that leads to my VisualElements, in particular the text, to become very blurry when their parent is scaled down and up again (zoom functionality in my editor window).
When translating the VisualElement, it becomes crisp. My guess is that changing a VisualElement’s transform forces it to repaint, while changing its parent’s transform does not repaint the children.
I tried calling Repaint() in my EditorWindow class to force a repaint of everything, without success. I also tried calling MarkDirtyRepaint() on the root VisualElement, with no luck either.
Is there a more efficient way to repaint all VisualElements than calling MarkDirtyRepaint() on every child individually?
Here is a screen of the blur:
Thanks in advance!