Fix Omen's overall alpha setting not applying on login.
This commit is contained in:
@@ -458,6 +458,7 @@ function Omen:PLAYER_LOGIN()
|
||||
-- It cannot be earlier than PLAYER_LOGIN because layout-cache.txt
|
||||
-- is loaded just before this event fires.
|
||||
self:SetAnchors(true)
|
||||
self.Anchor:SetAlpha(db.Alpha)
|
||||
self:UpdateBackdrop()
|
||||
self:UpdateTitleBar()
|
||||
self:UpdateGrips()
|
||||
@@ -546,6 +547,7 @@ end
|
||||
function Omen:OnProfileChanged(event, database, newProfileKey)
|
||||
db = database.profile
|
||||
self:SetAnchors(true)
|
||||
self.Anchor:SetAlpha(db.Alpha)
|
||||
self:UpdateBackdrop()
|
||||
self:UpdateTitleBar()
|
||||
self:UpdateGrips()
|
||||
|
||||
Reference in New Issue
Block a user