actionbar: keep shapeshift button layout

This commit is contained in:
shagu
2019-04-17 21:06:48 +02:00
parent ac2d56c42e
commit d6e4b68012
+1 -2
View File
@@ -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