As I gather, moving a single VisualElement will cause every child element to recalculate it’s transform, or something like that, according to the Profiler. Either way, my inventory screen is very slow to move and resize. I have no idea how to fix, is there a special way to move things without causing the whole hierarchy to recalculate?
Moving is done with:
CurrentlyDragging.style.left = V.x / scale;
CurrentlyDragging.style.top = V.y / scale;
Resize is done with:
CurrentlyDragging.style.width = V.x / scale;
CurrentlyDragging.style.height = V.y / scale;