castbar: pixel-snap progress via PixelUtil.SetStatusBarValue

Routes player and nameplate castbar progress through
PixelUtil.SetStatusBarValue so a 1.4s cast on a narrow bar no longer
shimmers across fractional pixels as it ticks. Adds GetMinMaxValues /
GetValue handlers to pfUI's custom StatusBar so PixelUtil can read the
current range.
This commit is contained in:
Brues
2026-06-22 10:11:33 -05:00
parent e6664a4eb6
commit fa3f191eea
3 changed files with 11 additions and 3 deletions
+8
View File
@@ -83,6 +83,14 @@ do -- statusbars
self:DisplayValue(self.val_ or self.val)
end,
["GetMinMaxValues"] = function(self)
return self.min, self.max
end,
["GetValue"] = function(self)
return self.val
end,
["SetValue"] = function(self, val)
self.val = val or 0