更新配置相关显示等
This commit is contained in:
10
ConfigUI.lua
10
ConfigUI.lua
@@ -476,6 +476,7 @@ local function EnsureDB()
|
||||
if SFramesDB.smoothBars == nil then SFramesDB.smoothBars = true end
|
||||
if SFramesDB.mobRealHealth == nil then SFramesDB.mobRealHealth = true end
|
||||
if SFramesDB.showItemLevel == nil then SFramesDB.showItemLevel = true end
|
||||
if SFramesDB.showTooltipIDs == nil then SFramesDB.showTooltipIDs = true end
|
||||
if SFramesDB.itemCompare == nil then SFramesDB.itemCompare = true end
|
||||
if SFramesDB.gearScore == nil then SFramesDB.gearScore = true end
|
||||
|
||||
@@ -992,6 +993,13 @@ function SFrames.ConfigUI:BuildUIPage()
|
||||
))
|
||||
CreateDesc(enhSection, "Tooltip 显示当前职业各天赋EP评分及硬核评分,需要 ItemBonusLib", 36, -142, font, 480)
|
||||
|
||||
table.insert(controls, CreateCheckBox(enhSection,
|
||||
"显示物品/法术ID", 270, -126,
|
||||
function() return SFramesDB.showTooltipIDs ~= false end,
|
||||
function(checked) SFramesDB.showTooltipIDs = checked end
|
||||
))
|
||||
CreateDesc(enhSection, "在 Tooltip 中显示物品ID和法术ID", 292, -142, font, 218)
|
||||
|
||||
CreateLabel(enhSection, "提示:以上功能需要安装对应的 !Libs 库才能生效。", 14, -172, font, 10, 0.6, 0.6, 0.65)
|
||||
|
||||
-- ── ShaguTweaks 功能移植 ──────────────────────────────────────
|
||||
@@ -1911,7 +1919,7 @@ function SFrames.ConfigUI:BuildActionBarPage()
|
||||
end)
|
||||
|
||||
CreateDesc(abSection,
|
||||
"悬停动作条/姿态栏/宠物栏按钮,按下键盘键或滚轮绑定。右键清除。ESC 退出。也可用 /nui bind",
|
||||
"悬停动作条/姿态栏/宠物栏按钮,按下键盘键/鼠标键(3-5)/滚轮绑定。右键清除。ESC 退出。也可用 /nui bind",
|
||||
14, -100, font, 480)
|
||||
|
||||
table.insert(controls, CreateSlider(abSection, "按钮大小", 14, -130, 150, 24, 48, 1,
|
||||
|
||||
Reference in New Issue
Block a user