diff --git a/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml b/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml index bf4bef6cb42..f18bb805ce5 100644 --- a/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml +++ b/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml @@ -3,25 +3,32 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:i="using:Avalonia.Xaml.Interactivity" + xmlns:ia="using:Avalonia.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ms="https://steampp.net/settings" xmlns:spp="https://steampp.net/ui" xmlns:ui="using:FluentAvalonia.UI.Controls" + MinWidth="380" d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"> - - + + IsClickEnabled="True" + IsVisible="False"> @@ -32,13 +39,28 @@ - + diff --git a/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml.cs b/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml.cs index 902cbe9d7ff..618bf184bfd 100644 --- a/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml.cs +++ b/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Controls/AcceleratorPathAskBox.axaml.cs @@ -36,4 +36,9 @@ private void OKButton_Click(object? sender, Avalonia.Interactivity.RoutedEventAr { this.ViewModel?.Close?.Invoke(true); } + + private void CustomInstallButton_Click(object? sender, Avalonia.Interactivity.RoutedEventArgs e) + { + PathSelect.IsVisible = !PathSelect.IsVisible; + } }