Method IsFullyOnScreen
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
IsFullyOnScreen(VisualElement)
Is this element COMPLETELY inside the panel - nothing hanging over the edge?
The bottom HUD is the reason this exists: with bottom: -px(120) the bar sat 72 px below the
panel, so its orbs were half off-screen and the whole bar (and every hover target in it) was
outside the pickable area while still "visible" and on-screen by the loose test.
public static bool IsFullyOnScreen(VisualElement ve)