Permalink
Browse files

nMainbar: Fix mouseover for stance bar.

  • Loading branch information...
1 parent 17d4fd1 commit 1d50b8ddccd81be537ccea6095a9be9d48fbdec5 @renstrom committed Aug 2, 2012
@@ -25,15 +25,15 @@ if (cfg.multiBarLeft.orderHorizontal) then
else
self:SetPoint('BOTTOMLEFT', MultiBarBottomRightButton1, 'TOPLEFT', 0, 6)
end
-
+
end
end)
else
if (cfg.multiBarRight.orderHorizontal) then
MultiBarLeftButton1:ClearAllPoints()
MultiBarLeftButton1:SetPoint('TOPRIGHT', UIParent, 'RIGHT', -6, (MultiBarLeft:GetHeight() / 2))
else
- MultiBarLeftButton1:ClearAllPoints()
+ MultiBarLeftButton1:ClearAllPoints()
MultiBarLeftButton1:SetPoint('TOPRIGHT', MultiBarRightButton1, 'TOPLEFT', -6, 0)
end
-end
+end
@@ -9,7 +9,7 @@ local function EnableMouseOver(self, bar, min, max, alpha)
for i = min, max do
local button = _G[self..i]
-
+
local f = CreateFrame('Frame', bar, bar)
f:SetFrameStrata('LOW')
f:SetFrameLevel(1)
@@ -62,5 +62,5 @@ if (cfg.petBar.mouseover) then
end
if (cfg.stanceBar.mouseover) then
- EnableMouseOver('StanceButton', StanceButton1, 1, NUM_STANCE_SLOTS, cfg.stanceBar.alpha)
+ EnableMouseOver('StanceButton', StanceBarFrame, 1, NUM_STANCE_SLOTS, cfg.stanceBar.alpha)
end
@@ -13,14 +13,13 @@ modules\right.lua
modules\skins.lua
modules\expbar.lua
modules\hotkey.lua
-modules\mouseover.lua
modules\petbar.lua
modules\possessbar.lua
modules\repbar.lua
-modules\slash.lua
modules\stancebar.lua
+modules\mouseover.lua
+modules\slash.lua
modules\picomenu.lua
modules\short\short.lua
modules\short\extras.lua
-modules\short\totem.lua

0 comments on commit 1d50b8d

Please sign in to comment.