mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 04:50:49 +00:00
Rotate bar textures on vertical XP, rep and nameplate health bars
Vertical StatusBars stretched the bar texture's shading along the wrong axis. ClassicAPI's SetRotatesTexture turns it with the bar.
This commit is contained in:
@@ -957,6 +957,7 @@ nameplates:RegisterUnitEvent("UNIT_SPELLCAST_NOT_INTERRUPTIBLE", "target", "focu
|
||||
nameplate.name:SetJustifyH(nameTextPos)
|
||||
|
||||
nameplate.health:SetOrientation(orientation)
|
||||
nameplate.health:SetRotatesTexture(orientation == "VERTICAL")
|
||||
-- Bar anchors to the plate directly so the name's JustifyH (configurable
|
||||
-- below) can shift left/right without dragging the bar with it.
|
||||
nameplate.health:ClearAllPoints()
|
||||
|
||||
Reference in New Issue
Block a user