Browse Source

Fix incorrect name of WinUI event.

pull/4091/head
Steven Kirk 6 years ago
parent
commit
14e95f10d5
  1. 2
      src/Avalonia.Controls/Repeater/ViewportManager.cs

2
src/Avalonia.Controls/Repeater/ViewportManager.cs

@ -530,7 +530,7 @@ namespace Avalonia.Controls
// partially remedey this by triggering also on Bounds changes, but this won't work so
// well for nested ItemsRepeaters.
//
// UWP uses the EffectiveBoundsChanged event (which I think was implemented specially
// UWP uses the EffectiveViewportChanged event (which I think was implemented specially
// for this case): we need to implement that in Avalonia.
return control.GetObservable(Visual.TransformedBoundsProperty)
.Merge(control.GetObservable(Visual.BoundsProperty).Select(_ => control.TransformedBounds))

Loading…
Cancel
Save