From 40fe83c0b9b8f75b23263f06fe30e1b3f559d84d Mon Sep 17 00:00:00 2001 From: pointfeev Date: Thu, 3 Mar 2022 19:16:23 -0500 Subject: [PATCH] fix changelog sub-text --- CreamInstaller/Components/CustomTreeView.cs | 2 +- CreamInstaller/CreamInstaller.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CreamInstaller/Components/CustomTreeView.cs b/CreamInstaller/Components/CustomTreeView.cs index a9e30e3..74ae1e0 100644 --- a/CreamInstaller/Components/CustomTreeView.cs +++ b/CreamInstaller/Components/CustomTreeView.cs @@ -34,7 +34,7 @@ internal class CustomTreeView : TreeView Font subFont = new(font.FontFamily, font.SizeInPoints, FontStyle.Regular, font.Unit, font.GdiCharSet, font.GdiVerticalFont); string subText = node.Name; - if (subText == "ParadoxLauncher") + if (string.IsNullOrWhiteSpace(subText) || subText == "ParadoxLauncher" || subText[0] == 'v' && Version.TryParse(subText[1..], out _)) return; Size subSize = TextRenderer.MeasureText(graphics, subText, subFont); diff --git a/CreamInstaller/CreamInstaller.csproj b/CreamInstaller/CreamInstaller.csproj index 679292c..280cb25 100644 --- a/CreamInstaller/CreamInstaller.csproj +++ b/CreamInstaller/CreamInstaller.csproj @@ -5,7 +5,7 @@ True Resources\ini.ico true - 3.0.1.0 + 3.0.1.1 Resources\ini.ico