public override void OnVersionChanged(VisualElement ve, VersionChangeType changeTypeFlag)
        {
            if (ve == panelDebug?.debugContainer)
            {
                return;
            }
            if ((changeTypeFlag & VersionChangeType.Repaint) == VersionChangeType.Repaint && m_ShowRepaintOverlay)
            {
                var visible = ve.resolvedStyle.visibility == Visibility.Visible &&
                              ve.resolvedStyle.opacity > Mathf.Epsilon;
                if (panel != null && ve != panel.visualTree && visible)
                {
                    m_RepaintOverlay.AddOverlay(ve, panelDebug?.debugContainer);
                }
            }

            if ((changeTypeFlag & VersionChangeType.Hierarchy) == VersionChangeType.Hierarchy)
            {
                m_TreeViewContainer.hierarchyHasChanged = true;
            }

            if (panelDebug?.debuggerOverlayPanel != null)
            {
                panelDebug.debuggerOverlayPanel.visualTree.layout = panel.visualTree.layout;
                panelDebug.MarkDebugContainerDirtyRepaint();
            }
        }
        public override void OnVersionChanged(VisualElement ve, VersionChangeType changeTypeFlag)
        {
            if ((changeTypeFlag & VersionChangeType.Repaint) == VersionChangeType.Repaint && m_ShowRepaintOverlay)
            {
                var visible = ve.resolvedStyle.visibility == Visibility.Visible &&
                              ve.resolvedStyle.opacity > Mathf.Epsilon;
                if (panel != null && ve != panel.visualTree && visible)
                {
                    m_RepaintOverlay.AddOverlay(ve);
                }
            }

            if ((changeTypeFlag & VersionChangeType.Hierarchy) == VersionChangeType.Hierarchy)
            {
                m_TreeViewContainer.hierarchyHasChanged = true;
            }
        }