From c29a351901d71537942f8f457aa024cb2a5eb0f5 Mon Sep 17 00:00:00 2001 From: status102 Date: Mon, 9 Oct 2023 00:36:02 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20WpfGui=E5=85=B3=E5=8D=A1=E6=8E=89?= =?UTF-8?q?=E8=90=BD=E8=BE=93=E5=87=BA=E5=A2=9E=E5=8A=A0=E5=8D=83=E5=88=86?= =?UTF-8?q?=E4=BD=8D=E5=88=86=E9=9A=94=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/AsstProxy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index 43aaaddec3..414a4fe9e2 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -957,10 +957,10 @@ namespace MaaWpfGui.Main string itemName = item["itemName"]?.ToString(); int totalQuantity = (int)item["quantity"]; int addQuantity = (int)item["addQuantity"]; - allDrops += $"{itemName} : {totalQuantity}"; + allDrops += $"{itemName} : {totalQuantity:#,#}"; if (addQuantity > 0) { - allDrops += $" (+{addQuantity})"; + allDrops += $" (+{addQuantity:#,#})"; } allDrops += "\n";