Animate unit frame bars with ClassicAPI's SmoothStatusBarMixin

Health and power bars take SmoothStatusBarMixin instead of pfUI's own OnUpdate animation, so the animation no longer runs faster at higher frame rates. The speed dropdown becomes an on/off checkbox, since the mixin's rate is fixed. A new range keeps the bar's filled share, so it doesn't jump before the animation moves on.
This commit is contained in:
Brues
2026-10-31 14:20:20 -05:00
parent 43f90751d6
commit e5a78c8d54
12 changed files with 37 additions and 102 deletions
+1 -2
View File
@@ -32,6 +32,7 @@ pfUI_translation["esES"] = {
["Anchor Bags Above Chat"] = nil,
["A new installation of |cff33ffccpf|rUI ships with 4 prebuilt design profiles. Click below if you wish to load one of these profiles."] = "Una nueva instalación de |cff33ffccpf|rUI viene con 4 perfiles de diseño preconfigurados. Haga clic debajo si deseas cargar uno de estos perfiles.",
["A new version is available"] = "Una nueva versión está disponible",
["Animate Health And Power Bars"] = nil,
["Appearance"] = "Apariencia",
["Ascending"] = "Ascendiendo",
["Author"] = "Autor",
@@ -371,7 +372,6 @@ pfUI_translation["esES"] = {
["Health"] = "Salud",
["Health - Auto"] = "Salud - Auto",
["Healthbar"] = "Barra de salud",
["Healthbar Animation Speed"] = "Velocidad de animación de la barra de salud",
["Health Bar Color"] = "Color de la barra de salud",
["Healthbar Embedded"] = "Barra de salud embebida",
["Healthbar Height"] = "Altura de la barra de salud",
@@ -433,7 +433,6 @@ pfUI_translation["esES"] = {
["Inherit Default Colors"] = "Color predeterminado",
["Inputbox Height"] = "Altura de la barra de entrada",
["Inputbox Width"] = "Ancho de la barra de entrada",
["Instant"] = "Instantáneo",
["Integrations"] = "Integraciones",
["Invert Health Bar"] = "Invertir la barra de salud",
["is not allowed in profile name"] = "no se permite en el nombre de perfil",