mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
player: fix spark related error on size change
This commit is contained in:
@@ -330,6 +330,7 @@ pfUI:RegisterModule("player", function ()
|
||||
|
||||
local value = pfUI.api.round((GetTime() - this.lastTick) * 100)
|
||||
local pos = pfUI_config.unitframes.player.width / 200 * value
|
||||
if not pfUI_config.unitframes.player.pheigh then return end
|
||||
this.spark:SetPoint("LEFT", pos-((pfUI_config.unitframes.player.pheight+5)/2), 0)
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user