Table of Contents

Method IsPanelVisible

Namespace
GrindFest
Assembly
GrindFest.dll

IsPanelVisible(string)

Is the panel with this PanelIds entry on screen?

Panels express "hidden" in two different ways and IsVisible(VisualElement) covers both: some set display:none on their own root (caught by walking ancestors), while DraggablePanel panels keep their wrapper displayed and hide the styled child inside it - the wrapper then has no geometry left, which the rect check catches.

public static bool IsPanelVisible(string panelId)

Parameters

panelId string

Returns

bool