Change close action from PopOut to Hide and switched to TriangleButton.Click()

This commit is contained in:
Welsar55 2019-06-05 13:01:21 -05:00
parent 194bb80354
commit c04c6693c2
1 changed files with 3 additions and 3 deletions

View File

@ -198,9 +198,9 @@ private void modButtonPressed(Mod selectedMod)
protected override bool OnKeyDown(KeyDownEvent e)
{
if (e.Key == Key.Number1)
DeselectAll();
DeselectAllButton.Click();
else if (e.Key == Key.Number2)
PopOut();
CloseButton.Click();
return base.OnKeyDown(e);
}
@ -381,7 +381,7 @@ public ModSelectOverlay()
{
Width = 180,
Text = "2. Close",
Action = PopOut,
Action = Hide,
Margin = new MarginPadding
{
Right = 20