From 762cd4013179fb66170e8c932c84ef57ad9e167c Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 05 九月 2018 02:09:28 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
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