Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[housekeeping] Automated PR to fix formatting errors #16592

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ void OnPointerReleased(object sender, PointerRoutedEventArgs e)
{
uint id = e.Pointer.PointerId;
if (_fingers.Contains(id))
_fingers.Remove(id);
_fingers.Remove(id);
SwipeComplete(true);
PinchComplete(true);
PanComplete(true);
Expand Down
4 changes: 2 additions & 2 deletions src/Controls/tests/Xaml.UnitTests.ExternalAssembly/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Microsoft.Extensions.Logging;
using Microsoft.Maui.Graphics;

[assembly: Microsoft.Maui.Controls.XmlnsDefinition (
[assembly: Microsoft.Maui.Controls.XmlnsDefinition(
xmlNamespace: "http://example.com/maui-controls", clrNamespace: "Microsoft.Maui.Controls",
AssemblyName="Microsoft.Maui.Controls")]
AssemblyName = "Microsoft.Maui.Controls")]

namespace Microsoft.Maui.Controls.ControlGallery
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.ApplicationModel;
using Microsoft.Maui.Controls.Core.UnitTests;
using Microsoft.Maui.Devices;
using Microsoft.Maui.Graphics;
using NUnit.Framework;


Expand Down
2 changes: 1 addition & 1 deletion src/Graphics/src/Graphics/Font.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public bool Equals(IFont other)
StyleType == other.StyleType &&
Weight == other.Weight &&
((Name is null && other.Name is null) || Name.Equals(other.Name, StringComparison.OrdinalIgnoreCase));

public override bool Equals(object obj)
=> obj is IFont font && Equals(font);

Expand Down
Loading