private void OnInvalidateEntitiesMessage(InvalidateEntity entity) { DateTime now = DateTime.Now; double timeDifference = (now - lastNotifyProxyProperty).TotalMilliseconds; if (timeDifference > NotifyPropertyUpdateRate) { selectedItem?.Invalidate(); } TriggerInvalidateChildren(); }
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; } }