Wiesław Šoltés
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Avalonia.Controls/PullToRefresh/ScrollViewerIRefreshInfoProviderAdapter.cs
|
|
|
@ -169,9 +169,9 @@ namespace Avalonia.Controls.PullToRefresh |
|
|
|
visualizerComposition.ImplicitAnimations = animation; |
|
|
|
} |
|
|
|
|
|
|
|
if(_scrollViewer != null && _scrollViewer.Content is Visual visual) |
|
|
|
if(_scrollViewer != null) |
|
|
|
{ |
|
|
|
var scollContentComposition = ElementComposition.GetElementVisual(visual); |
|
|
|
var scollContentComposition = ElementComposition.GetElementVisual(_scrollViewer); |
|
|
|
|
|
|
|
if(scollContentComposition != null) |
|
|
|
{ |
|
|
|
|