Commit dce0154b authored by Merathilis's avatar Merathilis
Browse files

Lets make a 1px gap between the PetBattle ActionBars and the Skip Button

parent 0052cc90
......@@ -330,11 +330,11 @@ function S:PetBattleFrame()
bf.TurnTimer.SkipButton:Width(bar:GetWidth())
bf.TurnTimer.SkipButton:ClearAllPoints()
bf.TurnTimer.SkipButton:Point('BOTTOM', bar, 'TOP', 0, E.PixelMode and -1 or 1)
bf.TurnTimer.SkipButton:Point('BOTTOM', bar, 'TOP', 0, E.PixelMode and 1 or 2)
hooksecurefunc(bf.TurnTimer.SkipButton, 'SetPoint', function(btn, _, _, _, _, _, forced)
if forced ~= true then
btn:ClearAllPoints()
btn:Point('BOTTOM', bar, 'TOP', 0, E.PixelMode and -1 or 1, true)
btn:Point('BOTTOM', bar, 'TOP', 0, E.PixelMode and 1 or 2, true)
end
end)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment