WoWInterface SVN StellarBars

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 21 to Rev 22
    Reverse comparison

Rev 21 → Rev 22

trunk/StellarBars/StellarBars.lua
83,16 → 83,18
end
self.stelap = e
end
local function updatepetbar()
local function updatepetbar(fromconfig)
if InCombatLockdown() or db.mainx == 0 then return end
PetActionBar_UpdatePositionValues()
if fromconfig == 3 then
UIParent_ManageFramePositions()
end
if PETACTIONBAR_XPOS ~= 36 then
PetActionButton1:SetPoint("BOTTOMLEFT", PetActionBarFrame, "BOTTOMLEFT", 36 + PETACTIONBAR_XPOS - PetActionBarFrame:GetLeft(), 2)
else
PetActionButton1:SetPoint("BOTTOMLEFT", PetActionBarFrame, "BOTTOMLEFT", 36, 2)
end
end
local function UpdatePositions()
local function UpdatePositions(fromconfig)
if InCombatLockdown() then
return self:RegisterEvent("PLAYER_REGEN_ENABLED")
else
110,7 → 112,7
local adj = ((mainexpshown and repshown) and 22) or (((mainexpshown or repshown) and 13)) or 8
MainMenuBarArtFrame:SetPoint("TOPLEFT", MainMenuBar, "TOPLEFT", 0, adj)
MainMenuBarArtFrame:SetPoint("BOTTOMRIGHT", MainMenuBar, "BOTTOMRIGHT", 0, adj)
updatepetbar()
updatepetbar(fromconfig)
end
local function UpdateLook()
if InCombatLockdown() then return end
535,7 → 537,7
local nx, ny = this.p:GetCenter()
db[this.which.."x"] = floor(0.5 + db[this.which.."x"] + (nx - this.px)*db.scale)
db[this.which.."y"] = floor(0.5 + db[this.which.."y"] + (ny - this.py)*db.scale)
UpdatePositions()
UpdatePositions(3)
end)
return mm
end
549,7 → 551,7
sidemover[StellarBars.unlock and "Show" or "Hide"](sidemover)
elseif a1 == "resetpos" then
db.mainx, db.mainy, db.sidex, db.sidey = 0, 0, 0, 0
UpdatePositions()
UpdatePositions(3)
else
db[a1] = not db[a1]
print("|cff00ff00StellarBars|r: This setting may require a reload to take effect.")
trunk/StellarBars/StellarBars.toc
2,7 → 2,7
## Title: StellarBars
## Notes: Adds a new look and some options to the default action bars.
## Author: TotalPackage
## Version: 3.2.002
## Version: 3.2.003
 
## SavedVariables: StellarBarsDB