actionbar: use static id for paging bar

This commit is contained in:
shagu
2020-02-19 21:29:41 +01:00
parent 459eac8ec8
commit f3547bab82
+1 -1
View File
@@ -387,7 +387,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
active = IsCurrentAction(sid) or IsAutoRepeatAction(sid)
texture = GetActionTexture(sid)
bar = GetActiveBar()
id = sid - ((self.bar == 1 and bar or self.bar)-1)*12
id = self.bar == 1 and self.slot or sid-((self.bar)-1)*12
end
if not self.showempty and self.backdrop and not texture and grid == 0 then