mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 10:40:48 +00:00
ui-widgets: always update displayed values on statusbars
This commit is contained in:
+3
-1
@@ -25,7 +25,9 @@ do -- statusbars
|
|||||||
|
|
||||||
if val == self.val_ then
|
if val == self.val_ then
|
||||||
animations[self] = nil
|
animations[self] = nil
|
||||||
elseif self.mode == "vertical" then
|
end
|
||||||
|
|
||||||
|
if self.mode == "vertical" then
|
||||||
height = self:GetHeight()
|
height = self:GetHeight()
|
||||||
if pfUI.expansion == "vanilla" then height = height / self:GetEffectiveScale() end
|
if pfUI.expansion == "vanilla" then height = height / self:GetEffectiveScale() end
|
||||||
point = height / (self.max - self.min) * (val - self.min)
|
point = height / (self.max - self.min) * (val - self.min)
|
||||||
|
|||||||
Reference in New Issue
Block a user