Browse Source

Latest added animation takes priority.

Previously BindingPriority.Animation was an even-numbered priority
level, meaning that the last fired binding would take precedence,
however this means that if two animations are active, they would fight.
Use the latest added instead.
pull/72/merge
Steven Kirk 11 years ago
parent
commit
217cbd1575
  1. 4
      Perspex.Base/PerspexObject.cs

4
Perspex.Base/PerspexObject.cs

@ -14,9 +14,9 @@ namespace Perspex
using System.Reactive.Linq;
using System.Reflection;
using Perspex.Reactive;
using Perspex.Utilities;
using Serilog;
using Serilog.Core.Enrichers;
using Perspex.Utilities;
/// <summary>
/// The priority of a binding.
@ -26,7 +26,7 @@ namespace Perspex
/// <summary>
/// A value that comes from an animation.
/// </summary>
Animation = -2,
Animation = -1,
/// <summary>
/// A local value.

Loading…
Cancel
Save