Skip to content

Commit

Permalink
Fix typos (#15267)
Browse files Browse the repository at this point in the history
* Correct a priority value in property set log message

* Correct a comment
  • Loading branch information
heku committed Apr 7, 2024
1 parent 8117528 commit 8e89c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Avalonia.Base/AvaloniaObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public bool IsSet(AvaloniaProperty property)
VerifyAccess();
ValidatePriority(priority);

LogPropertySet(property, value, BindingPriority.LocalValue);
LogPropertySet(property, value, priority);

if (value is UnsetValueType)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Avalonia.Base/AvaloniaProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public void Unregister(Type type)
}

/// <summary>
/// Registers an attached <see cref="AvaloniaProperty"/>.
/// Registers a <see cref="AvaloniaProperty"/>.
/// </summary>
/// <typeparam name="TOwner">The type of the class that is registering the property.</typeparam>
/// <typeparam name="TValue">The type of the property's value.</typeparam>
Expand Down

0 comments on commit 8e89c81

Please sign in to comment.