Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions EllesmereUIDamageMeters/EllesmereUIDamageMeters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3064,7 +3064,7 @@ local function CreateDMWindow(winIdx)
---------------------------------------------------------------------------
W.resizeGrip = CreateFrame("Button", nil, frame)
W.resizeGrip:SetSize(18, 18); W.resizeGrip:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -2, 2)
W.resizeGrip:SetFrameStrata("HIGH"); W.resizeGrip:SetFrameLevel(frame:GetFrameLevel() + 15)
W.resizeGrip:SetFrameLevel(frame:GetFrameLevel() + 15)
local gripTex = W.resizeGrip:CreateTexture(nil, "ARTWORK"); gripTex:SetAllPoints()
gripTex:SetTexture(RESIZE_ICON); gripTex:SetDesaturated(true); gripTex:SetVertexColor(1, 1, 1)
W.resizeGrip:EnableMouse(true); W.resizeGrip:SetAlpha(0)
Expand All @@ -3074,7 +3074,7 @@ local function CreateDMWindow(winIdx)
-- Lock icon (shows/hides with resize grip, click toggles lock state)
W.lockBtn = CreateFrame("Button", nil, frame)
W.lockBtn:SetSize(13, 17)
W.lockBtn:SetFrameStrata("HIGH"); W.lockBtn:SetFrameLevel(frame:GetFrameLevel() + 16)
W.lockBtn:SetFrameLevel(frame:GetFrameLevel() + 16)
W.lockBtn:EnableMouse(true); W.lockBtn:SetAlpha(0)
local lockTex = W.lockBtn:CreateTexture(nil, "ARTWORK"); lockTex:SetAllPoints()
lockTex:SetDesaturated(true); lockTex:SetVertexColor(1, 1, 1)
Expand Down
2 changes: 1 addition & 1 deletion EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6002,7 +6002,7 @@ local function SetupShowOnCastBar(frame, unit)
if self.Target then
local spellTarget, spellTargetClass
local ownerUnit = self.__owner and self.__owner.unit
if ownerUnit and ownerUnit ~= "player"
if ownerUnit
and UnitShouldDisplaySpellTargetName and UnitShouldDisplaySpellTargetName(ownerUnit) then
local rawTarget = UnitSpellTargetName and UnitSpellTargetName(ownerUnit)
if rawTarget then
Expand Down