Skip to content

Commit

Permalink
5.2.158-RC
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Feb 13, 2024
1 parent 2c7be5b commit 6986b1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions AzeriteUI/Components/Misc/ChatFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ local TEXTURES = {
}
}

-- Frame Metamethods
local setAlpha = getmetatable(CreateFrame("Frame")).__index.SetAlpha
local getAlpha = getmetatable(CreateFrame("Frame")).__index.GetAlpha

-- Local element cache for lookups without member properties
local Elements = setmetatable({}, { __index = function(t,k) rawset(t,k,{}) return rawget(t,k) end })

Expand Down Expand Up @@ -353,10 +357,6 @@ ChatFrames.StyleFrame = function(self, frame)
self:UpdateChatFading(frame)
self:SecureHook(frame, "SetFont", "UpdateChatFont")

-- Frame Metamethods
local setAlpha = getmetatable(CreateFrame("Frame")).__index.SetAlpha
local getAlpha = getmetatable(CreateFrame("Frame")).__index.GetAlpha

-- Attempt to fix coins and chat textures not fading by double setting the alpha.
-- The bug seems to go away when the textures once have been set to zero alpha.
--hooksecurefunc(UIParent, "SetAlpha", function()
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. Be aware th
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased] 2024-02-11
## [5.2.158-RC] 2024-02-13
### Fixed
- Fixed wrong threat texture on target unit frame portraits for critters.

Expand Down

0 comments on commit 6986b1e

Please sign in to comment.