From b1dd9e4c1c21655386988af213e40c05f0658d3e Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期三, 05 九月 2018 01:00:01 +0800
Subject: [PATCH] 1709 合成左侧列表按钮选中未下拉选中
---
System/Compose/New/ComposeEquipWin.cs | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/System/Compose/New/ComposeEquipWin.cs b/System/Compose/New/ComposeEquipWin.cs
index 69a34fc..470e8c6 100644
--- a/System/Compose/New/ComposeEquipWin.cs
+++ b/System/Compose/New/ComposeEquipWin.cs
@@ -184,7 +184,15 @@
if (secondTypeDict.Count >= 1 && curSecondType != 0
&& curThirdType == 1)
{
- cellCtrl.JumpIndex(curSecondType - 1);
+ int remain = curSecondType - firstTypeDict.Count;
+ if(remain > 0)
+ {
+ cellCtrl.JumpIndex(curSecondType- remain);
+ }
+ else
+ {
+ cellCtrl.JumpIndex(curSecondType - 1);
+ }
}
}
}
--
Gitblit v1.8.0