Skip to content

Commit

Permalink
Fixed a bug where third party themes would error out.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Oct 3, 2024
1 parent 0637586 commit a22acc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/themes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ end

function themes:UpdateOpacity()
local theme = self.themes[db:GetTheme()]
if not theme then return end
for _, frame in pairs(self.windows[const.WINDOW_KIND.PORTRAIT]) do
local sizeInfo = db:GetBagSizeInfo(const.BAG_KIND.BACKPACK, db:GetBagView(const.BAG_KIND.BACKPACK))
theme.Opacity(frame, sizeInfo.opacity)
Expand Down

0 comments on commit a22acc2

Please sign in to comment.