mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
castbar: use string format for cast duration
This commit is contained in:
committed by
shagu
parent
84a412cae4
commit
ebd0d3ef33
+2
-2
@@ -286,9 +286,9 @@ pfUI:RegisterModule("castbar", function ()
|
||||
|
||||
if delay > 0 then
|
||||
delay = "|cffffaaaa+" .. round(delay,1) .. " |r "
|
||||
pfUI.castbar.player.bar.right:SetText(delay .. round(cur,1) .. " / " .. round(max,1))
|
||||
pfUI.castbar.player.bar.right:SetText(delay .. string.format("%.1f",cur) .. " / " .. round(max,1))
|
||||
else
|
||||
pfUI.castbar.player.bar.right:SetText(round(cur,1) .. " / " .. round(max,1))
|
||||
pfUI.castbar.player.bar.right:SetText(string.format("%.1f",cur) .. " / " .. round(max,1))
|
||||
end
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user