Esempio n. 1
0
        private void OnInvalidateEntitiesMessage(InvalidateEntity entity)
        {
            DateTime now            = DateTime.Now;
            double   timeDifference = (now - lastNotifyProxyProperty).TotalMilliseconds;

            if (timeDifference > NotifyPropertyUpdateRate)
            {
                selectedItem?.Invalidate();
            }
            TriggerInvalidateChildren();
        }
Esempio n. 2
0
        private void OnInvalidateEntitiesMessage(InvalidateEntity entity)
        {
            DateTime now            = DateTime.Now;
            double   timeDifference = (now - lastNotifyProxyProperty).TotalMilliseconds;

            if (timeDifference > NotifyPropertyUpdateRate || true)
            {
                currentTimelinePosition = Engine.Time;
                RaisePropertyChanged("Time");
                lastNotifyProxyProperty = now;
            }
        }