Skip to content

Commit

Permalink
Some more PTR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviana committed Dec 9, 2022
1 parent 156b93c commit 4d4a1c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion LunaUnitFrames.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Luna Unit Frames 4.0 by Aviana

LUF = select(2, ...)
LUF.version = 4342
LUF.version = 4343

local L = LUF.L
local ACR = LibStub("AceConfigRegistry-3.0", true)
Expand Down Expand Up @@ -1185,6 +1185,7 @@ function LUF.PlaceModules(frame)
end
totalSum = totalSum + config.slots["right"].value
end
totalSum = max(1,totalSum)
usableXLeft = usableX * (config.slots["left"].value/totalSum)
usableXCenter = usableX * (config.slots["center"].value/totalSum)
usableXRight = usableX * (config.slots["right"].value/totalSum)
Expand Down
2 changes: 1 addition & 1 deletion LunaUnitFrames.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: Luna Unit Frames
## Notes:
## Author: Aviana
## Version: 4342
## Version: 4343
## SavedVariables: LunaUFDB
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets, Clique
## X-License: WTFPL (http://www.wtfpl.net/about/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ local function Update(self, event, unit)
end
if indicator.count then
indicator.count:Show()
indicator.count:SetText(count > 1 and count)
indicator.count:SetText(count > 1 and count or "")
else
indicator.count:Hide()
end
Expand Down Expand Up @@ -290,7 +290,7 @@ local function Update(self, event, unit)
end
if indicator.count then
indicator.count:Show()
indicator.count:SetText(count > 1 and count)
indicator.count:SetText(count > 1 and count or "")
else
indicator.count:Hide()
end
Expand Down

0 comments on commit 4d4a1c8

Please sign in to comment.