ui-widgets: always update displayed values on statusbars

This commit is contained in:
shagu
2020-05-09 02:29:31 +02:00
parent 680a9c19b9
commit ea2e6cdb99
+3 -1
View File
@@ -25,7 +25,9 @@ do -- statusbars
if val == self.val_ then
animations[self] = nil
elseif self.mode == "vertical" then
end
if self.mode == "vertical" then
height = self:GetHeight()
if pfUI.expansion == "vanilla" then height = height / self:GetEffectiveScale() end
point = height / (self.max - self.min) * (val - self.min)