diff --git a/Elwig/Elwig.csproj b/Elwig/Elwig.csproj index 94cf916..9ef0954 100644 --- a/Elwig/Elwig.csproj +++ b/Elwig/Elwig.csproj @@ -32,10 +32,10 @@ - + - + diff --git a/Elwig/Windows/ChartWindow.xaml.cs b/Elwig/Windows/ChartWindow.xaml.cs index 1e84692..1332e01 100644 --- a/Elwig/Windows/ChartWindow.xaml.cs +++ b/Elwig/Windows/ChartWindow.xaml.cs @@ -592,13 +592,13 @@ namespace Elwig.Windows { Pixel mousePixel = new(p.X, p.Y - 30); Coordinates mouseLocation = OechslePricePlot.Plot.GetCoordinates(mousePixel); TooltipPlot = OechslePricePlot.Plot.Add.Text($"Oechsle: {pointX:N2}, Preis: {Math.Round(pointY, Season.Precision)}€/kg", mouseLocation.X, mouseLocation.Y); - TooltipPlot.Label.FontSize = 12; - TooltipPlot.Label.Bold = true; - TooltipPlot.Label.BorderColor = Colors.Black; - TooltipPlot.Label.BorderWidth = 2; - TooltipPlot.Label.BackgroundColor = Colors.White; - TooltipPlot.Label.Padding = 10; - TooltipPlot.Label.Alignment = Alignment.MiddleLeft; + TooltipPlot.LabelFontSize = 12; + TooltipPlot.LabelBold = true; + TooltipPlot.LabelBorderColor = Colors.Black; + TooltipPlot.LabelBorderWidth = 2; + TooltipPlot.LabelBackgroundColor = Colors.White; + TooltipPlot.LabelPadding = 10; + TooltipPlot.LabelAlignment = Alignment.MiddleLeft; } LastHighlighted = (g, pointIndex); HoverChanged = false; diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 9b0f129..5b97029 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -23,7 +23,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive