diff --git a/LightBulb/Views/Components/DashboardView.axaml b/LightBulb/Views/Components/DashboardView.axaml index 7527c6d..989f41f 100644 --- a/LightBulb/Views/Components/DashboardView.axaml +++ b/LightBulb/Views/Components/DashboardView.axaml @@ -119,10 +119,11 @@ Margin="0,50,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" + Background="Transparent" Cursor="Hand" IsVisible="{Binding IsOffsetEnabled}" Orientation="Horizontal" - PointerPressed="ConfigurationOffsetStackPanel_OnPointerPressed"> + PointerReleased="ConfigurationOffsetStackPanel_OnPointerReleased"> diff --git a/LightBulb/Views/Components/DashboardView.axaml.cs b/LightBulb/Views/Components/DashboardView.axaml.cs index db1126e..9e2cfd6 100644 --- a/LightBulb/Views/Components/DashboardView.axaml.cs +++ b/LightBulb/Views/Components/DashboardView.axaml.cs @@ -12,8 +12,8 @@ public partial class DashboardView : UserControl private void UserControl_OnLoaded(object? sender, RoutedEventArgs args) => DataContext.InitializeCommand.Execute(null); - private void ConfigurationOffsetStackPanel_OnPointerPressed( + private void ConfigurationOffsetStackPanel_OnPointerReleased( object? sender, - PointerPressedEventArgs args + PointerReleasedEventArgs args ) => DataContext.ResetConfigurationOffsetCommand.Execute(null); }