Skip to content

Commit a7f0a9f

Browse files
committed
chore: misc modify.
1 parent eca5885 commit a7f0a9f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Shared/HandyControl_Shared/Controls/Panel/WaterfallPanel.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public Orientation Orientation
5252
set => SetValue(OrientationProperty, value);
5353
}
5454

55-
private int CaculateGroupCount(Orientation orientation, PanelUvSize size)
55+
private int CalculateGroupCount(Orientation orientation, PanelUvSize size)
5656
{
5757
if (!AutoGroup)
5858
{
@@ -74,7 +74,7 @@ protected override Size ArrangeOverride(Size finalSize)
7474
var orientation = Orientation;
7575
var uvConstraint = new PanelUvSize(orientation, finalSize);
7676

77-
var groups = CaculateGroupCount(orientation, uvConstraint);
77+
var groups = CalculateGroupCount(orientation, uvConstraint);
7878
if (groups < 1)
7979
{
8080
return finalSize;
@@ -110,7 +110,7 @@ protected override Size MeasureOverride(Size constraint)
110110
var orientation = Orientation;
111111
var uvConstraint = new PanelUvSize(orientation, constraint);
112112

113-
var groups = CaculateGroupCount(orientation, uvConstraint);
113+
var groups = CalculateGroupCount(orientation, uvConstraint);
114114
if (groups < 1)
115115
{
116116
return constraint;

src/Shared/HandyControl_Shared/Media/Animation/GeometryKeyFrame.cs

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
using System.Windows.Media.Animation;
66
using HandyControl.Tools;
77

8+
namespace HandyControl.Media.Animation;
9+
810
public abstract class GeometryKeyFrame : Freezable, IKeyFrame
911
{
1012
internal double[] Numbers;

0 commit comments

Comments
 (0)