Skip to content

Commit

Permalink
use own orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Sep 14, 2024
1 parent 66a5fbe commit 0ed8a59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UnitFrames/UnitButton.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ function U:UpdateUnitButtonLayout(unit, kind, button)

-- NOTE: SetOrientation BEFORE SetPowerSize
if not kind or kind == "barOrientation" then
U:SetOrientation(button, Cell.vars.currentLayoutTable.barOrientation[1],
Cell.vars.currentLayoutTable.barOrientation[2])
U:SetOrientation(button, layout[unit].barOrientation, false)
end

if not kind or strfind(kind, "power$") or kind == "barOrientation" then
Expand Down

0 comments on commit 0ed8a59

Please sign in to comment.