From f3547bab828664396429492262d55365d5181a6d Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 19 Feb 2020 21:29:41 +0100 Subject: [PATCH] actionbar: use static id for paging bar --- modules/actionbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index f6545c83..eeea5b8c 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -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