Skip to content

Commit

Permalink
perf: adjust IInsertionPanel.GetInsertionIndexes
Browse files Browse the repository at this point in the history
Co-authored-by: Carl de Billy <[email protected]>
  • Loading branch information
tprr7 and carldebilly committed Aug 21, 2023
1 parent 50e0552 commit 969462b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void IInsertionPanel.GetInsertionIndexes(Windows.Foundation.Point position, out
{
first = -1;
second = -1;
if ((new Windows.Foundation.Rect(0, 0, ActualSize.X, ActualSize.Y)).Contains(position))
if ((new Windows.Foundation.Rect(default, ActualSize)).Contains(position))
{
if (Children == null || Children.Empty())
{
Expand Down

0 comments on commit 969462b

Please sign in to comment.