修复猎人野兽训练展示技能所需训练点数错误问题
修复拾取问题 修复其他已知问题 修复自动下马问题以及带来的猎人守护自动关闭问题 彻底修复拾取界面问题 修复目标框架的施法条监控 修复其他已知问题 调整dps插件对仇恨的估算方式 优化dps插件 修复远程攻击条问题
This commit is contained in:
@@ -812,10 +812,20 @@ local function UpdateFilters()
|
||||
MainFrame.filterUsed:SetActive(currentFilter == "used")
|
||||
end
|
||||
|
||||
local _isUpdating = false
|
||||
|
||||
local function FullUpdate()
|
||||
UpdateFilters()
|
||||
UpdateList()
|
||||
UpdateDetail()
|
||||
if _isUpdating then return end
|
||||
_isUpdating = true
|
||||
local ok, err = pcall(function()
|
||||
UpdateFilters()
|
||||
UpdateList()
|
||||
UpdateDetail()
|
||||
end)
|
||||
_isUpdating = false
|
||||
if not ok then
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cffff4444Nanami-UI TrainerUI: FullUpdate error: " .. tostring(err) .. "|r")
|
||||
end
|
||||
end
|
||||
|
||||
local function SelectService(index)
|
||||
@@ -1181,12 +1191,6 @@ function TUI:Initialize()
|
||||
ClassTrainerFrame:EnableMouse(false)
|
||||
end
|
||||
|
||||
if SetTrainerServiceTypeFilter then
|
||||
SetTrainerServiceTypeFilter("available", 1)
|
||||
SetTrainerServiceTypeFilter("unavailable", 1)
|
||||
SetTrainerServiceTypeFilter("used", 1)
|
||||
end
|
||||
|
||||
selectedIndex = nil
|
||||
currentFilter = "all"
|
||||
collapsedCats = {}
|
||||
@@ -1196,6 +1200,15 @@ function TUI:Initialize()
|
||||
npcName = npcName .. " - 专业训练"
|
||||
end
|
||||
MainFrame.npcNameFS:SetText(npcName)
|
||||
|
||||
_isUpdating = true
|
||||
if SetTrainerServiceTypeFilter then
|
||||
pcall(SetTrainerServiceTypeFilter, "available", 1)
|
||||
pcall(SetTrainerServiceTypeFilter, "unavailable", 1)
|
||||
pcall(SetTrainerServiceTypeFilter, "used", 1)
|
||||
end
|
||||
_isUpdating = false
|
||||
|
||||
MainFrame:Show()
|
||||
BuildDisplayList()
|
||||
for _, entry in ipairs(displayList) do
|
||||
|
||||
Reference in New Issue
Block a user