From d4f284d829222ebe01f0af65e86734b64d4cb648 Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Fri, 8 May 2026 22:37:32 +0200 Subject: [PATCH] fix: remove sparkline from limit cards (belongs only in Session Diary) --- windows/PopupWindow.xaml.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/windows/PopupWindow.xaml.cs b/windows/PopupWindow.xaml.cs index 8e950bd..f6a190a 100644 --- a/windows/PopupWindow.xaml.cs +++ b/windows/PopupWindow.xaml.cs @@ -166,17 +166,10 @@ public partial class PopupWindow : Window timeRow.Children.Add(timeLeft); timeRow.Children.Add(timeRight); - var sparkline = new SparklineControl - { - Height = 28, Margin = new Thickness(0, 8, 0, 0), LineColor = Color.FromRgb(0xF9, 0x73, 0x16), - Data = limit.BurnHistory.Count > 0 ? limit.BurnHistory : null, - }; - var infoPanel = new StackPanel { VerticalAlignment = VerticalAlignment.Center }; infoPanel.Children.Add(headerRow); infoPanel.Children.Add(progress); infoPanel.Children.Add(timeRow); - infoPanel.Children.Add(sparkline); var cardGrid = new Grid { Margin = new Thickness(16, 12, 16, 12) }; cardGrid.ColumnDefinitions.Add(new ColumnDefinition { Width = GridLength.Auto });