From 1a267f1e5a041dcf04ae82830098a0433cec1a53 Mon Sep 17 00:00:00 2001 From: CJK_mkp <113243675+CJKmkp@users.noreply.github.com> Date: Sat, 8 Nov 2025 22:23:44 +0800 Subject: [PATCH] =?UTF-8?q?improve:=E7=82=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/Windows/NewStyleRollCallWindow.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Ink Canvas/Windows/NewStyleRollCallWindow.cs b/Ink Canvas/Windows/NewStyleRollCallWindow.cs index b80090d6..69658a54 100644 --- a/Ink Canvas/Windows/NewStyleRollCallWindow.cs +++ b/Ink Canvas/Windows/NewStyleRollCallWindow.cs @@ -1325,9 +1325,9 @@ namespace Ink_Canvas // 动画结束,显示最终结果 Application.Current.Dispatcher.Invoke(() => { - // 使用降重抽选方法选择数字 + // 根据选择的模式进行不同的抽选逻辑 var numberList = Enumerable.Range(1, 60).Select(n => n.ToString()).ToList(); - var selectedNumbers = SelectNamesWithML(numberList, currentCount, random); + var selectedNumbers = SelectNamesByMode(numberList, currentCount); // 更新历史记录 UpdateRollCallHistory(selectedNumbers); @@ -1418,8 +1418,8 @@ namespace Ink_Canvas // 动画结束,显示最终结果 Application.Current.Dispatcher.Invoke(() => { - // 使用降重抽选方法 - var selectedNames = SelectNamesWithML(nameList, currentCount, random); + // 根据选择的模式进行不同的抽选逻辑 + var selectedNames = SelectNamesByMode(nameList, currentCount); // 更新历史记录 UpdateRollCallHistory(selectedNames); @@ -1476,9 +1476,9 @@ namespace Ink_Canvas // 动画结束,显示最终结果 Application.Current.Dispatcher.Invoke(() => { - // 使用降重抽选方法选择数字 + // 根据选择的模式进行不同的抽选逻辑 var numberList = Enumerable.Range(1, 60).Select(n => n.ToString()).ToList(); - var selectedNumbers = SelectNamesWithML(numberList, currentCount, random); + var selectedNumbers = SelectNamesByMode(numberList, currentCount); // 更新历史记录 UpdateRollCallHistory(selectedNumbers);