diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index c86b68a..9ae950a 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -413,7 +413,9 @@ public partial class MainWindow : Window TxtEpgNext.Text = ""; TxtChannelSource.Text = "● Web"; TxtChannelSource.Foreground = new System.Windows.Media.SolidColorBrush( - System.Windows.Media.Color.FromRgb(0xFF, 0x99, 0x00)); // Orange für Web + System.Windows.Media.Color.FromRgb(0xFF, 0x99, 0x00)); + // Burger-Button ausblenden (wuerde Browser-Elemente doppelt klicken) + BtnSidebarToggleOverlay.Visibility = Visibility.Collapsed; // Orange für Web if (_webViewReady) { @@ -1044,7 +1046,9 @@ public partial class MainWindow : Window { SidebarColumn.Width = _categoriesCollapsed ? new GridLength(0) : new GridLength(180); ChannelsColumn.Width = _listCollapsed ? new GridLength(0) : new GridLength(280); - BtnSidebarToggleOverlay.Visibility = (_categoriesCollapsed && _listCollapsed) + // Burger-Button nur bei TV/Radio anzeigen (nicht bei WebView - Doppelklick-Problem) + var isWeb = _currentChannel?.Kind == ChannelKind.Web; + BtnSidebarToggleOverlay.Visibility = (_categoriesCollapsed && _listCollapsed && !isWeb) ? Visibility.Visible : Visibility.Collapsed; _sidebarHidden = _categoriesCollapsed && _listCollapsed; }