Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Automated dotnet-format update (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 16, 2022
1 parent a13cd36 commit 11a313b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void DetectScrollViews()
{
if (scrollViewParentRenderers.Any())
return;

var parent = Superview;

while (parent != null)
Expand All @@ -168,7 +168,7 @@ void DetectScrollViews()
parent = parent.Superview;
}
}

void SetParentTouches(bool enabled)
{
foreach (var scrollViewParentRenderer in scrollViewParentRenderers)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected override void OnElementChanged(ElementChangedEventArgs<DrawingView> e)
WantsLayer = true;
if (Layer is not null)
Layer.BackgroundColor = Element.BackgroundColor.ToCGColor();

currentPath.LineWidth = Element.DefaultLineWidth;
lineColor = Element.DefaultLineColor.ToNSColor();
Element.Lines.CollectionChanged += OnLinesCollectionChanged;
Expand Down Expand Up @@ -128,7 +128,7 @@ void UpdateDisplay()
if (Layer is not null)
InvokeOnMainThread(Layer.SetNeedsDisplay);
}

protected override void Dispose(bool disposing)
{
if (disposed)
Expand Down

0 comments on commit 11a313b

Please sign in to comment.