mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 21:20:00 +00:00
actionbar: keep shapeshift button layout
This commit is contained in:
@@ -737,10 +737,9 @@ pfUI:RegisterModule("actionbar", 20400, function ()
|
||||
return
|
||||
end
|
||||
|
||||
-- we changed bar size and stored layout is invalid, fallback
|
||||
-- the stored layout is invalid, temporary fallback
|
||||
if not pfGridmath[buttons][BarLayoutFormfactor(formfactor)] then
|
||||
formfactor = BarLayoutOptions(buttons)[1]
|
||||
C.bars["bar"..i].formfactor = formfactor
|
||||
end
|
||||
|
||||
local font = pfUI.font_unit
|
||||
|
||||
Reference in New Issue
Block a user