Skip to content

Commit

Permalink
fix: field not available for target
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpinedam committed Apr 5, 2022
1 parent 7c94ce5 commit 155f2d9
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,22 @@ private static double GetHorizontalScrollWheelDelta(Size size, double delta)
private bool _canHorizontallyScroll;
public bool CanHorizontallyScroll
{
get => _canHorizontallyScroll || _forceChangeToCurrentView;
get => _canHorizontallyScroll
#if __SKIA__
|| _forceChangeToCurrentView
#endif
;
set => _canHorizontallyScroll = value;
}

private bool _canVerticallyScroll;
public bool CanVerticallyScroll
{
get => _canVerticallyScroll || _forceChangeToCurrentView;
get => _canVerticallyScroll
#if __SKIA__
|| _forceChangeToCurrentView
#endif
;
set => _canVerticallyScroll = value;
}

Expand Down

0 comments on commit 155f2d9

Please sign in to comment.