Example #1
0
        private void RedrawIfNeeded()
        {
            bool isRedrawNeeded = NodeInfoFactory.Timestamp != FLastTimestamp || !CurrentPatchWindow.Equals(FLastPatchWindow);

            if (isRedrawNeeded)
            {
                if (FTagPanel.Visible)
                {
                    FTagPanel.Redraw();
                }
                else
                {
                    FTagPanel.PendingRedraw = true;
                }

                if (FCategoryPanel.Visible)
                {
                    FCategoryPanel.Redraw();
                }
                else
                {
                    FCategoryPanel.PendingRedraw = true;
                }
            }

            FLastTimestamp   = NodeInfoFactory.Timestamp;
            FLastPatchWindow = CurrentPatchWindow;
        }
Example #2
0
        private void RedrawIfNeeded()
        {
            bool isRedrawNeeded = NodeInfoFactory.Timestamp != FLastTimestamp || !CurrentPatchWindow.Equals(FLastPatchWindow);

            if (isRedrawNeeded)
            {
                UpdatePanels();
            }

            FLastTimestamp   = NodeInfoFactory.Timestamp;
            FLastPatchWindow = CurrentPatchWindow;
        }