Browse Source

Remove assertion.

Due to #8549.
refactor/style-priorities
Steven Kirk 4 years ago
parent
commit
a98772cf92
  1. 3
      src/Avalonia.Base/PropertyStore/ValueStore.cs

3
src/Avalonia.Base/PropertyStore/ValueStore.cs

@ -572,7 +572,8 @@ namespace Avalonia.PropertyStore
private void InsertFrame(ValueFrame frame)
{
Debug.Assert(!_frames.Contains(frame));
// Uncomment this line when #8549 is fixed.
//Debug.Assert(!_frames.Contains(frame));
var index = BinarySearchFrame(frame.Priority);
_frames.Insert(index, frame);

Loading…
Cancel
Save