diff --git a/Wabbajack.App.Wpf/Views/Common/UnderMaintenanceOverlay.xaml b/Wabbajack.App.Wpf/Views/Common/UnderMaintenanceOverlay.xaml
index c99bff30..c0b7a157 100644
--- a/Wabbajack.App.Wpf/Views/Common/UnderMaintenanceOverlay.xaml
+++ b/Wabbajack.App.Wpf/Views/Common/UnderMaintenanceOverlay.xaml
@@ -21,24 +21,24 @@
-
+
-
+
+ Margin="10"
+ Visibility="{Binding ElementName=MaintenanceGrid,Path=IsMouseOver, Converter={StaticResource bool2VisibilityConverter}, ConverterParameter=True}">
@@ -46,22 +46,24 @@
+ Visibility="{Binding Path=IsMouseOver, ElementName=MaintenanceGrid, Converter={StaticResource bool2VisibilityConverter}, ConverterParameter=False}">
@@ -84,23 +86,6 @@
ShadowDepth="10" />
-
public partial class UnderMaintenanceOverlay : UserControl
{
- public bool ShowHelp
- {
- get => (bool)GetValue(ShowHelpProperty);
- set => SetValue(ShowHelpProperty, value);
- }
- public static readonly DependencyProperty ShowHelpProperty = DependencyProperty.Register(nameof(ShowHelp), typeof(bool), typeof(UnderMaintenanceOverlay),
- new FrameworkPropertyMetadata(default(bool)));
-
public UnderMaintenanceOverlay()
{
InitializeComponent();
}
-
- private void Help_Click(object sender, RoutedEventArgs e)
- {
- ShowHelp = !ShowHelp;
- }
}
}
diff --git a/Wabbajack.App.Wpf/Views/MainWindow.xaml b/Wabbajack.App.Wpf/Views/MainWindow.xaml
index 26b27b92..5ba72d95 100644
--- a/Wabbajack.App.Wpf/Views/MainWindow.xaml
+++ b/Wabbajack.App.Wpf/Views/MainWindow.xaml
@@ -109,11 +109,6 @@
-
+ x:Name="Overlay"
+ Visibility="Collapsed"
+ ClipToBounds="True" />