删除注释的代码
This commit is contained in:
@@ -52,8 +52,6 @@ public class WrapPanelWithTrailingItem : Panel
|
|||||||
if (!IsItemsHost) LogicalChildren.Add(newValue);
|
if (!IsItemsHost) LogicalChildren.Add(newValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WrapPanel p = new WrapPanel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override Size MeasureOverride(Size availableSize)
|
protected override Size MeasureOverride(Size availableSize)
|
||||||
|
|||||||
@@ -159,8 +159,6 @@ public class SelectionList : SelectingItemsControl
|
|||||||
|
|
||||||
protected override void OnKeyDown(KeyEventArgs e)
|
protected override void OnKeyDown(KeyEventArgs e)
|
||||||
{
|
{
|
||||||
// var hotkeys = Application.Current!.PlatformSettings?.HotkeyConfiguration;
|
|
||||||
|
|
||||||
if (e.Key.ToNavigationDirection() is { } direction && direction.IsDirectional())
|
if (e.Key.ToNavigationDirection() is { } direction && direction.IsDirectional())
|
||||||
e.Handled |= MoveSelection(direction, WrapSelection);
|
e.Handled |= MoveSelection(direction, WrapSelection);
|
||||||
base.OnKeyDown(e);
|
base.OnKeyDown(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user