Skip to content

Commit

Permalink
NDui 8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
siweia committed Sep 6, 2024
1 parent e2fee75 commit 8058804
Show file tree
Hide file tree
Showing 55 changed files with 382 additions and 318 deletions.
1 change: 1 addition & 0 deletions Interface/AddOns/NDui/Config/AuraWatchList/Hunter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ local list = {
{AuraID = 333526, UnitID = "target", Caster = "player"}, -- 尖刺果实
{AuraID = 375893, UnitID = "target", Caster = "player"}, -- 死亡飞轮
{AuraID = 424567, UnitID = "target", Caster = "player", Flash = true}, -- 狂野本能
{AuraID = 430703, UnitID = "target", Caster = "player"}, -- 黑蚀箭

{AuraID = 410167, UnitID = "target", Caster = "player"}, -- 破甲,生存4T
},
Expand Down
2 changes: 1 addition & 1 deletion Interface/AddOns/NDui/Core/AWConfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ local function CreatePanel()

local function AddInternal(parent, index, data)
local intID, duration, trigger, unit, itemID = unpack(data)
local name, texture = GetSpellName(spellID), GetSpellTexture(spellID)
local name, texture = GetSpellName(intID), GetSpellTexture(intID)
if itemID then
name = C_Item.GetItemInfo(itemID)
end
Expand Down
42 changes: 27 additions & 15 deletions Interface/AddOns/NDui/Core/Changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,33 @@ if DB.Client ~= "zhCN" then return end
local strsplit, pairs = string.split, pairs

local hx = {
"修正社区页面的聊天超链接;",
"正确隐藏姿态条;",
"修正战团银行的剩余栏位显示;",
"盗贼申斥回响的材质调整;",
"修正专业快捷标签;",
"界面美化更新,添加任务追踪美化开关;",
"oUF核心更新;",
"单位框体的职业染色支持AI单位;",
"添加选项以添加稀有通知的黑名单;",
"控制台的新选项标签调整;",
"移除对旧版本的兼容,更新至11.0.2;",
"修正小地图的要塞切换按钮;",
"姓名板简易模式npc称谓显示修正;",
"去除迷雾信息数据支持新版本地图;",
"移除小队监控的相关选项。",
"优化任务交接对战团完成情况的支持;",
"部分库文件更新;",
"界面美化更新;",
"修正目标装备神器时观察报错的问题;",
"姓名板稀有图标层级调整;",
"修复部分失效API的报错;",
"战团银行标签需要禁用背包才可以解锁;",
"修正姿态动作条的移动模块尺寸;",
"修正鼠标提示中的物品银行计数;",
"鼠标提示的套装计数更新;",
"游戏菜单尺寸调整;",
"修正考古计数条的错误;",
"修正Tomtom和WIM插件被错误收纳的问题;",
"更新物品使用通报的列表;",
"修正系统背包及银行的装等显示;",
"姓名板软目标的支持更新;",
"部分技能监控更新;",
"修正施放充能技能时的报错;",
"优化动作条快捷键对Mac的支持;",
"优化动作条快捷键的快速绑定功能;",
"修正进入地下堡时错误提示;",
"战团银行调整支持为合并+分类;",
"修正宠物对战页面双方的品质着色;",
"修正使用PitBull4时可能引起的报错;",
"任务额外按钮支持奖励任务;",
"修正技能监控控制台的一处报错;",
"部分反馈的问题修正。",
}

local f
Expand Down
2 changes: 1 addition & 1 deletion Interface/AddOns/NDui/Core/Functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ do
frame:SetTexelSnappingBias(0)
elseif frame.GetStatusBarTexture then
local texture = frame:GetStatusBarTexture()
if texture and texture.SetSnapToPixelGrid then
if type(texture) == "table" and texture.SetSnapToPixelGrid then
texture:SetSnapToPixelGrid(false)
texture:SetTexelSnappingBias(0)
end
Expand Down
21 changes: 17 additions & 4 deletions Interface/AddOns/NDui/Core/GUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ G.DefaultSettings = {
FontSize = 12,
BagsWidth = 12,
BankWidth = 14,
AccountWidth = 20,
BagsiLvl = true,
BagSortMode = 1,
ItemFilter = true,
Expand Down Expand Up @@ -374,7 +375,7 @@ G.DefaultSettings = {
CustomUnits = {},
ShowPowerUnits = true,
PowerUnits = {},
VerticalSpacing = .7,
VerticalSpacing = 1.1,
ShowPlayerPlate = false,
PPWidth = 175,
PPBarHeight = 5,
Expand Down Expand Up @@ -1182,6 +1183,7 @@ G.OptionList = { -- type, key, value, name, horizon, doubleline
{3, "Bags", "FontSize", L["Bags FontSize"].."*", true, {10, 50, 1}, updateBagSize},
{3, "Bags", "BagsWidth", L["Bags Width"].."*", false, {10, 40, 1}, updateBagSize},
{3, "Bags", "BankWidth", L["Bank Width"].."*", true, {10, 40, 1}, updateBagSize},
{3, "Bags", "AccountWidth", L["AccountBank Width"].."*", nil, {10, 40, 1}, updateBagSize},
},
[3] = {
{1, "UFs", "Enable", HeaderTag..L["Enable UFs"], nil, setupUnitFrame, nil, L["HideUFWarning"]},
Expand Down Expand Up @@ -1310,7 +1312,7 @@ G.OptionList = { -- type, key, value, name, horizon, doubleline
{1, "Nameplate", "PPGCDTicker", L["PlayerPlate GCDTicker"].."*", nil, nil, toggleGCDTicker},
{1, "Auras", "MMT29X4", L["MMT29X4"].."*", true, nil, toggleFocusCalculation, L["MMT29X4Tip"]},
{},--blank
{3, "Nameplate", "PPWidth", L["Width"].."*", false, {150, 300, 1}, refreshNameplates},
{3, "Nameplate", "PPWidth", L["Width"].."*", false, {100, 500, 1}, refreshNameplates},
{3, "Nameplate", "PPBarHeight", L["PlayerPlate CPHeight"].."*", true, {2, 15, 1}, refreshNameplates},
{3, "Nameplate", "PPHealthHeight", L["PlayerPlate HPHeight"].."*", false, {2, 15, 1}, refreshNameplates},
{3, "Nameplate", "PPPowerHeight", L["PlayerPlate MPHeight"].."*", true, {2, 15, 1}, refreshNameplates},
Expand Down Expand Up @@ -1779,7 +1781,7 @@ local function CreateContactBox(parent, text, url, index)
end

local donationList = {
["爱发电"] = "33578473, normanvon, y368413, EK, msylgj, 夜丨灬清寒, akakai, reisen410, 其实你很帥, 萨菲尔, Antares, RyanZ, fldqw, Mario, 时光旧予, 食铁骑兵, 爱蕾丝的基总, 施然, 命运镇魂曲, 不可语上, Leo(En-布鲁), 忘川, 刘翰承, 悟空海外党, cncj, 暗月, 汪某人, 黑手, iraq120, 嗜血未冷, 我又不是妖怪, 养乐多, 无人知晓, 秋末旷夜-迪瑟洛克, Teo, 莉拉斯塔萨, 音尘绝, 刺王杀驾, 醉跌-凤凰之神, 灬麦加灬-阿古斯, 漂舟不系, 朵小熙, 山岸逢花, 乄阿财-帕奇维克, 乌鸦岭守墓饼-罗宁, 自在独踽踽-霜之哀伤, 御行宇航-碧玉矿洞, 末日伯爵-奥罗, 阿玛忆-白银之手, 零氪-罗宁, 粉色刘老头-黑曜石之锋, shadowlezi, 風雲再起-帕奇维克, congfeng, 东叫兽, solor, DC_Doraemon, 不明飞行物,Seraphinee-冰风岗,怜悯,小甜甜赵顶天-贫瘠之地,浅羽凝-湖畔镇,十方-火妖,科比小迷弟-哈霍兰,信仰之业-霜之哀伤,喷大水丶-奥罗,卓越,白色恶魔-风行者,Shadowbaner-死亡之翼,霸亡别姬-埃提耶什,惊雪-遗忘海岸,Ayukawa-布鲁,天天洗澡-德姆塞卡尔,江表之力牧-碧玉矿洞,射鸡大师-灰烬使者,星辰花,玛拉的万花筒-埃苏雷格,园城寺怜-维希度斯,泽尔里奇-席瓦莱恩,孤木不似林-无尽之海,悪夢灬旧城-伊森利恩,逸星-匕首岭,假胯宽不宽-哈霍兰,农富三拳-燃烧之刃,蛮多基尔-夏挚生,喻大脑壳-维希度斯,岁月碎月-法尔班克斯,随性丶丶-安苏,陈一发儿丷-死亡之翼,东谐西毒-祈福,大洋大洋大洋-厄运之槌,Spritejj-安苏,Kyrielight-憤怒使者,十六爸爸-巨人追猎者,一白夜一-燃烧之刃,一瓶东方树叶-怒炉,你乖一点-格瑞姆巴托,Zev-席瓦莱恩,大黑手丶-燃烧之刃,偶爾琳琳雨-暗影之月(亚服),琉璃绯雪,片山城西-世界之树,江城之下-寒冰皇冠, 楓聖御雷,神奇的胖虎,北宸,清风徐來,步履望星辰丶,Spiritcivet-Atiesh(美服),Kaguya, Nataly-希瓦莱恩,露露缇娅丶-霜语以及部分未备注名字的用户。",
["爱发电"] = "33578473, normanvon, y368413, EK, msylgj, 夜丨灬清寒, akakai, reisen410, 其实你很帥, 萨菲尔, Antares, RyanZ, fldqw, Mario, 时光旧予, 食铁骑兵, 爱蕾丝的基总, 施然, 命运镇魂曲, 不可语上, Leo(En-布鲁), 忘川, 刘翰承, 悟空海外党, cncj, 暗月, 汪某人, 黑手, iraq120, 嗜血未冷, 我又不是妖怪, 养乐多, 无人知晓, 秋末旷夜-迪瑟洛克, Teo, 莉拉斯塔萨, 音尘绝, 刺王杀驾, 醉跌-凤凰之神, 灬麦加灬-阿古斯, 漂舟不系, 朵小熙, 山岸逢花, 乄阿财-帕奇维克, 乌鸦岭守墓饼-罗宁, 自在独踽踽-霜之哀伤, 御行宇航-碧玉矿洞, 末日伯爵-奥罗, 阿玛忆-白银之手, 零氪-罗宁, 粉色刘老头-黑曜石之锋, shadowlezi, 風雲再起-帕奇维克, congfeng, 东叫兽, solor, DC_Doraemon, 不明飞行物,Seraphinee-冰风岗,怜悯,小甜甜赵顶天-贫瘠之地,浅羽凝-湖畔镇,十方-火妖,科比小迷弟-哈霍兰,信仰之业-霜之哀伤,喷大水丶-奥罗,卓越,白色恶魔-风行者,Shadowbaner-死亡之翼,霸亡别姬-埃提耶什,惊雪-遗忘海岸,Ayukawa-布鲁,天天洗澡-德姆塞卡尔,江表之力牧-碧玉矿洞,射鸡大师-灰烬使者,星辰花,玛拉的万花筒-埃苏雷格,园城寺怜-维希度斯,泽尔里奇-席瓦莱恩,孤木不似林-无尽之海,悪夢灬旧城-伊森利恩,逸星-匕首岭,假胯宽不宽-哈霍兰,农富三拳-燃烧之刃,蛮多基尔-夏挚生,喻大脑壳-维希度斯,岁月碎月-法尔班克斯,随性丶丶-安苏,陈一发儿丷-死亡之翼,东谐西毒-祈福,大洋大洋大洋-厄运之槌,Spritejj-安苏,Kyrielight-憤怒使者,十六爸爸-巨人追猎者,一白夜一-燃烧之刃,一瓶东方树叶-怒炉,你乖一点-格瑞姆巴托,Zev-席瓦莱恩,大黑手丶-燃烧之刃,偶爾琳琳雨-暗影之月(亚服),琉璃绯雪,片山城西-世界之树,江城之下-寒冰皇冠, 楓聖御雷,神奇的胖虎,北宸,清风徐來,步履望星辰丶,Spiritcivet-Atiesh(美服),Kaguya, Nataly-希瓦莱恩,露露缇娅丶-霜语,Rena,z3gws555,贴饼子-罗宁,有点儿-凤凰之神以及部分未备注名字的用户。",
["Patreon"] = "Quentin, Julian Neigefind, silenkin, imba Villain, Zeyu Zhu, Kon Floros, Distortedmind87, Boldboy, taelle.",
["CurseForge"] = "A world of endless gaming possibilities for modders and gamers alike.|n|nKeep your NDui update to date.",
["新手盒子"] = "集插件更新工具和游戏助手为一体!|n|n你可以在此更新你的NDui",
Expand Down Expand Up @@ -1958,6 +1960,17 @@ function G:OnLogin()
end

hooksecurefunc(GameMenuFrame, "InitButtons", function(self)
self:AddButton(L["NDui Console"], toggleGUI)
self:AddButton("|T"..DB.chatLogo..":12:24|t |cff0080ffNDui|r", toggleGUI)

for button in self.buttonPool:EnumerateActive() do
if not button.resized then
button:SetNormalFontObject("GameFontHighlight")
button:SetHighlightFontObject("GameFontHighlight")
button:SetDisabledFontObject("GameFontDisable")
button:SetSize(160, 27)

button.resized = true
end
end
end)
end
27 changes: 12 additions & 15 deletions Interface/AddOns/NDui/Libs/cargBags/mixins-add/plugins/bagTabs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ local AccountBankPanel = AccountBankPanel
local BANK_TAB1 = Enum.BagIndex.AccountBankTab_1 or 13
local ACCOUNT_BANK_TYPE = Enum.BankType.Account or 2

cargBags.selectedTabID = 1 -- default tabID

function Implementation:GetBagTabClass()
return self:GetClass("BagTab", true, "BagTab")
end
Expand All @@ -39,12 +37,16 @@ end

local function UpdateTooltip(self, id)
local data = AccountBankPanel.purchasedBankTabData[id]
if not data then return end

GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
GameTooltip_SetTitle(GameTooltip, data.name, NORMAL_FONT_COLOR)
AddBankTabSettingsToTooltip(GameTooltip, data.depositFlags)
GameTooltip_AddInstructionLine(GameTooltip, BANK_TAB_TOOLTIP_CLICK_INSTRUCTION)
if not data then
GameTooltip:AddLine(L["PurchaseTabTip"], 1,0,0, 1)
else
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
GameTooltip_SetTitle(GameTooltip, data.name, NORMAL_FONT_COLOR)
AddBankTabSettingsToTooltip(GameTooltip, data.depositFlags)
GameTooltip_AddInstructionLine(GameTooltip, BANK_TAB_TOOLTIP_CLICK_INSTRUCTION)
end
GameTooltip:Show()
end

Expand Down Expand Up @@ -111,6 +113,7 @@ function BagTab:UpdateButton()
local bagID = self.bagId
self.filter = function(i) return i.bagId ~= bagID end
end
self.hidden = not self.hidden

if(self.bar.isGlobal) then
for _, container in pairs(container.implementation.contByID) do
Expand All @@ -132,18 +135,13 @@ end

function BagTab:OnClick(btn)
local currentTabID = self:GetID()
cargBags.selectedTabID = currentTabID

local data = AccountBankPanel.purchasedBankTabData[currentTabID]
if not data then
StaticPopup_Show("CONFIRM_BUY_BANK_TAB", nil, nil, {bankType = ACCOUNT_BANK_TYPE})
--StaticPopup_Show("CONFIRM_BUY_BANK_TAB", nil, nil, {bankType = ACCOUNT_BANK_TYPE})
else
if btn == "LeftButton" then
local buttons = self.bar.buttons
for i = 1, #buttons do
buttons[i].hidden = i ~= currentTabID
buttons[i]:UpdateButton()
end
self.bar.buttons[currentTabID]:UpdateButton()
else -- right button
local menu = AccountBankPanel.TabSettingsMenu
if menu then
Expand Down Expand Up @@ -181,7 +179,7 @@ cargBags:RegisterPlugin("BagTab", function(self, bags)
for i = 1, #bags do
local button = buttonClass:Create(bags[i])
button:SetParent(bar)
button.hidden = i ~= 1
button.hidden = true
button.bar = bar
table.insert(bar.buttons, button)
end
Expand All @@ -193,7 +191,6 @@ cargBags:RegisterPlugin("BagTab", function(self, bags)
end)

updater(bar)
self.implementation:RegisterEvent("BANK_TABS_CHANGED", bar, updater)

return bar
end)
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,12 @@ local function GetNumFreeSlots(name)
return GetContainerNumFreeSlots(-3)
elseif name == "BagReagent" then
return GetContainerNumFreeSlots(5)
elseif name == "AccountBank" then
return GetContainerNumFreeSlots(cargBags.selectedTabID + 12)
elseif name == "Account" then
local numFreeSlots = 0
for bagID = 13, 17 do
numFreeSlots = numFreeSlots + GetContainerNumFreeSlots(bagID)
end
return numFreeSlots
end
end

Expand Down
4 changes: 3 additions & 1 deletion Interface/AddOns/NDui/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -913,4 +913,6 @@ L["MoreFontSize"] = "More font size" -- need translation
L["EditFont"] = "Editbox fontsize" -- need translation
L["IgnoredRares"] = "Rare blacklist" -- need translation
L["IgnoredRaresTip"] = "|nEnter the rare id that you don't need to be notified, use space in between for multiple ids." -- need translation
L["QuestTracker"] = "Skin for QuestTracker" -- need translation
L["QuestTracker"] = "Skin for QuestTracker" -- need translation
L["PurchaseTabTip"] = "You need to disable addon and use default bankframe to purchase extra tabs." -- need translation
L["AccountBank Width"] = "Warband bank Breite"
4 changes: 3 additions & 1 deletion Interface/AddOns/NDui/Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -913,4 +913,6 @@ L["MoreFontSize"] = "More font size"
L["EditFont"] = "Editbox fontsize"
L["IgnoredRares"] = "Rare blacklist"
L["IgnoredRaresTip"] = "|nEnter the rare id that you don't need to be notified, use space in between for multiple ids."
L["QuestTracker"] = "Skin for QuestTracker"
L["QuestTracker"] = "Skin for QuestTracker"
L["PurchaseTabTip"] = "You need to disable addon and use default bankframe to purchase extra tabs."
L["AccountBank Width"] = "Warband bank width"
4 changes: 3 additions & 1 deletion Interface/AddOns/NDui/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -913,4 +913,6 @@ L["MoreFontSize"] = "More font size" -- need translation
L["EditFont"] = "Editbox fontsize" -- need translation
L["IgnoredRares"] = "Rare blacklist" -- need translation
L["IgnoredRaresTip"] = "|nEnter the rare id that you don't need to be notified, use space in between for multiple ids." -- need translation
L["QuestTracker"] = "Skin for QuestTracker" -- need translation
L["QuestTracker"] = "Skin for QuestTracker" -- need translation
L["PurchaseTabTip"] = "You need to disable addon and use default bankframe to purchase extra tabs." -- need translation
L["AccountBank Width"] = "Warband bank width" -- need translation
6 changes: 4 additions & 2 deletions Interface/AddOns/NDui/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ L["Incorrect SpellID"] = "Неверный SpellID."
L["Existing ID"] = "Верный SpellID."
L["TotemSlot"] = "Слот Тотема"
L["Reset your AuraWatch List?"] = "Вы уверены что хотите удалить все свои группы?"
L["Type Intro"] = "|nAuraID: следит за статусом баффовебаффов.|n|nSpellID: следит за кд заклинаний.|n|nSlotID: следит за кд вещей.|n|nTotemID: следит за длительностью установленных тотемов."
L["Type Intro"] = "|nAuraID: следит за статусом баффов/ебаффов.|n|nSpellID: следит за кд заклинаний.|n|nSlotID: следит за кд вещей.|n|nTotemID: следит за длительностью установленных тотемов."
L["ID Intro"] = "|nSpell ID, должно быть числом.|n|nВы можете получить ID на подсказке к заклинанию.|n|nИмя заклинаний не поддерживается."
L["Unit Intro"] = "|nИнфо о цели заклинаний.|n|nplayer: цель - игрок.|n|ntarget: цель - ваша цель.|n|nfocus: цель - фокус.|n|npet: цель - питомец."
L["Caster Intro"] = "|nФильтр кастера заклинания.|n|nplayer: сотворено игроком.|n|ntarget: сотворено целью.|n|npet: сотворено питомцем.|n|nВсе ауры будут рассматриваться, если ничего не выбрано."
Expand Down Expand Up @@ -913,4 +913,6 @@ L["MoreFontSize"] = "More font size" -- need translation
L["EditFont"] = "Editbox fontsize" -- need translation
L["IgnoredRares"] = "Rare blacklist" -- need translation
L["IgnoredRaresTip"] = "|nEnter the rare id that you don't need to be notified, use space in between for multiple ids." -- need translation
L["QuestTracker"] = "Skin for QuestTracker" -- need translation
L["QuestTracker"] = "Skin for QuestTracker" -- need translation
L["PurchaseTabTip"] = "You need to disable addon and use default bankframe to purchase extra tabs." -- need translation
L["AccountBank Width"] = "Warband bank width" -- need translation
4 changes: 3 additions & 1 deletion Interface/AddOns/NDui/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -913,4 +913,6 @@ L["MoreFontSize"] = "更多字体大小"
L["EditFont"] = "输入框字体大小"
L["IgnoredRares"] = "稀有通知黑名单"
L["IgnoredRaresTip"] = "|n输入你不想接受的稀有提醒的ID,每个ID之间以空格隔开。"
L["QuestTracker"] = "美化任务追踪框体"
L["QuestTracker"] = "美化任务追踪框体"
L["PurchaseTabTip"] = "你需要关闭插件通过系统的背包去解锁额外栏位。"
L["AccountBank Width"] = "战团银行每行格数"
4 changes: 3 additions & 1 deletion Interface/AddOns/NDui/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -913,4 +913,6 @@ L["MoreFontSize"] = "更多字體大小"
L["EditFont"] = "輸入框字體大小"
L["IgnoredRares"] = "稀有通知黑名單"
L["IgnoredRaresTip"] = "|n輸入你不想接收的稀有提醒的ID,每個ID之間以空格隔開。"
L["QuestTracker"] = "美化任務追蹤框體"
L["QuestTracker"] = "美化任務追蹤框體"
L["PurchaseTabTip"] = "你需要關閉插件使用系統内建背包去解鎖額外標簽頁。"
L["AccountBank Width"] = "戰團銀行每行格數"
16 changes: 11 additions & 5 deletions Interface/AddOns/NDui/Modules/ActionBar/Bars/Bars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,14 @@ function Bar:ReassignBindings()

for index = 1, 8 do
local frame = Bar.headers[index]
for _, button in next, frame.buttons do
for _, key in next, {GetBindingKey(button.keyBoundTarget)} do
if key and key ~= "" then
SetOverrideBindingClick(frame, false, key, button:GetName(), "Keybind")
if frame then
ClearOverrideBindings(frame)

for _, button in next, frame.buttons do
for _, key in next, {GetBindingKey(button.keyBoundTarget)} do
if key and key ~= "" then
SetOverrideBindingClick(frame, false, key, button:GetName())
end
end
end
end
Expand All @@ -215,7 +219,9 @@ function Bar:ClearBindings()

for index = 1, 8 do
local frame = Bar.headers[index]
ClearOverrideBindings(frame)
if frame then
ClearOverrideBindings(frame)
end
end
end

Expand Down
2 changes: 1 addition & 1 deletion Interface/AddOns/NDui/Modules/ActionBar/Bars/Stancebar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Bar:UpdateStanceBar()
local rows = ceil(num/perRow)
frame:SetWidth(column*size + (column-1)*margin + 2*padding)
frame:SetHeight(size*rows + (rows-1)*margin + 2*padding)
frame.mover:SetSize(size, size)
frame.mover:SetSize(size+2*padding, size+2*padding)
end

function Bar:UpdateStance()
Expand Down
2 changes: 2 additions & 0 deletions Interface/AddOns/NDui/Modules/ActionBar/ButtonStyle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ local replaces = {
{"Capslock", "CL"},
{"BUTTON", "M"},
{"NUMPAD", "N"},
{"(META%-)", "m"},
{"(Meta%-)", "m"},
{"(ALT%-)", "a"},
{"(CTRL%-)", "c"},
{"(SHIFT%-)", "s"},
Expand Down
Loading

0 comments on commit 8058804

Please sign in to comment.