Fix wrong number for Taskbar item 10

This commit is contained in:
Noraa Junker
2025-10-18 22:06:58 +02:00
parent 5054a776dd
commit f646e0328e

View File

@@ -42,7 +42,7 @@ namespace ShortcutGuide.ShortcutGuideXAML
{
TaskbarIndicator indicator = new()
{
Label = b.Keynum.ToString(CultureInfo.InvariantCulture),
Label = b.Keynum >= 10 ? "0" : b.Keynum.ToString(CultureInfo.InvariantCulture),
Height = b.Height / DPI,
Width = b.Width / DPI,
};