From fb3663fc49318cbcdac50793a0236145a007f6df Mon Sep 17 00:00:00 2001 From: RubyJ Date: Tue, 17 Mar 2026 09:46:03 -0400 Subject: [PATCH 1/6] feat: compact icon-sized cards, timer overlay, more transparent backdrop --- UI.lua | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/UI.lua b/UI.lua index 44fc84a..33ef469 100755 --- a/UI.lua +++ b/UI.lua @@ -22,10 +22,10 @@ local WIDE_ROW_H = 36 local WIDE_W = 300 local ICON_SIZE = 28 -- Card mode (columns ≥ 2) -local CARD_W = 100 -local CARD_H = 72 -local CARD_PAD = 6 -local CARD_ICON = 44 +local CARD_W = 52 +local CARD_H = 52 +local CARD_PAD = 2 +local CARD_ICON = 48 -- --------------------------------------------------------------------------- -- Local helpers @@ -106,13 +106,15 @@ local function ApplyCardLayout(row, cW, cH) row.nameLabel:Hide() row.classLabel:Hide() + row.strip:SetSize(cW, 2) + row.iconTex:ClearAllPoints() row.iconTex:SetSize(CARD_ICON, CARD_ICON) - row.iconTex:SetPoint("CENTER", row, "CENTER", 0, 6) + row.iconTex:SetPoint("CENTER", row, "CENTER", 0, 0) row.timerLabel:ClearAllPoints() - row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 12, "OUTLINE") - row.timerLabel:SetPoint("BOTTOM", row, "BOTTOM", 0, 6) + row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 14, "OUTLINE") + row.timerLabel:SetPoint("CENTER", row, "CENTER", 0, 0) row.bar:Hide() row.barFill:Hide() @@ -172,7 +174,7 @@ local function CreateRow(parent, cd) local bg = row:CreateTexture(nil, "BACKGROUND") bg:SetAllPoints(row) - bg:SetColorTexture(0, 0, 0, 0.35) + bg:SetColorTexture(0, 0, 0, 0.20) row.bg = bg local strip = row:CreateTexture(nil, "BACKGROUND") @@ -247,7 +249,7 @@ local function CreateRow(parent, cd) GameTooltip:Show() end) row:SetScript("OnLeave", function() - bg:SetColorTexture(0, 0, 0, 0.35) + bg:SetColorTexture(0, 0, 0, 0.20) GameTooltip:Hide() end) @@ -429,7 +431,7 @@ function CT:BuildUI() tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }, }) - f:SetBackdropColor(0.05, 0.05, 0.08, 0.55) + f:SetBackdropColor(0.05, 0.05, 0.08, 0.35) f:SetBackdropBorderColor(0.3, 0.3, 0.4, 0.8) end @@ -438,7 +440,7 @@ function CT:BuildUI() titleBg:SetHeight(TITLE_HEIGHT) titleBg:SetPoint("TOPLEFT", f, "TOPLEFT", 0, 0) titleBg:SetPoint("TOPRIGHT", f, "TOPRIGHT", 0, 0) - titleBg:SetColorTexture(0.08, 0.08, 0.15, 0.65) + titleBg:SetColorTexture(0.08, 0.08, 0.15, 0.45) -- Title text local titleText = f:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall") From 1c3c04582ff8bf92e573c76a2c069dba7a76072c Mon Sep 17 00:00:00 2001 From: RubyJ Date: Tue, 17 Mar 2026 09:47:20 -0400 Subject: [PATCH 2/6] fix: remove duplicate strip SetSize call in ApplyCardLayout --- UI.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/UI.lua b/UI.lua index 33ef469..3ad29c5 100755 --- a/UI.lua +++ b/UI.lua @@ -100,14 +100,12 @@ local function ApplyCardLayout(row, cW, cH) -- Colour accent becomes a top strip row.strip:Show() row.strip:ClearAllPoints() - row.strip:SetSize(cW, 3) + row.strip:SetSize(cW, 2) row.strip:SetPoint("TOP", row, "TOP", 0, 0) row.nameLabel:Hide() row.classLabel:Hide() - row.strip:SetSize(cW, 2) - row.iconTex:ClearAllPoints() row.iconTex:SetSize(CARD_ICON, CARD_ICON) row.iconTex:SetPoint("CENTER", row, "CENTER", 0, 0) From 912842f6b009210f88b41a6334bf03bf92b6c755 Mon Sep 17 00:00:00 2001 From: RubyJ Date: Tue, 17 Mar 2026 09:55:59 -0400 Subject: [PATCH 3/6] fix: dial back card compactness to middle ground (72x58, pad 4) --- UI.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UI.lua b/UI.lua index 3ad29c5..c406d25 100755 --- a/UI.lua +++ b/UI.lua @@ -22,9 +22,9 @@ local WIDE_ROW_H = 36 local WIDE_W = 300 local ICON_SIZE = 28 -- Card mode (columns ≥ 2) -local CARD_W = 52 -local CARD_H = 52 -local CARD_PAD = 2 +local CARD_W = 72 +local CARD_H = 58 +local CARD_PAD = 4 local CARD_ICON = 48 -- --------------------------------------------------------------------------- From 5c78908f9698edd5db5bb186e749c2c5a6b93d63 Mon Sep 17 00:00:00 2001 From: RubyJ Date: Tue, 17 Mar 2026 09:57:33 -0400 Subject: [PATCH 4/6] fix: use THICKOUTLINE and white text for card timer overlay readability --- UI.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UI.lua b/UI.lua index c406d25..14c2b43 100755 --- a/UI.lua +++ b/UI.lua @@ -111,7 +111,7 @@ local function ApplyCardLayout(row, cW, cH) row.iconTex:SetPoint("CENTER", row, "CENTER", 0, 0) row.timerLabel:ClearAllPoints() - row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 14, "OUTLINE") + row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 14, "THICKOUTLINE") row.timerLabel:SetPoint("CENTER", row, "CENTER", 0, 0) row.bar:Hide() @@ -151,7 +151,8 @@ local function UpdateRow(row, now) elseif frac < 0.5 then row.barFill:SetVertexColor(0.9, 0.7, 0.1) else row.barFill:SetVertexColor(cd.r, cd.g, cd.b) end end - row.timerLabel:SetText("|cffff8040" .. FormatTime(remaining) .. "|r") + local color = row.isWide and "|cffff8040" or "|cffffffff" + row.timerLabel:SetText(color .. FormatTime(remaining) .. "|r") end else row.timerLabel:SetText("|cff00ff00Ready|r") From 8a38ccc7caf2debbdda2901ce9e0699c7c57fbca Mon Sep 17 00:00:00 2001 From: RubyJ Date: Tue, 17 Mar 2026 10:04:15 -0400 Subject: [PATCH 5/6] fix: move timer below icon with taller card (68px), revert orange timer colour --- UI.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/UI.lua b/UI.lua index 14c2b43..c388370 100755 --- a/UI.lua +++ b/UI.lua @@ -23,7 +23,7 @@ local WIDE_W = 300 local ICON_SIZE = 28 -- Card mode (columns ≥ 2) local CARD_W = 72 -local CARD_H = 58 +local CARD_H = 68 local CARD_PAD = 4 local CARD_ICON = 48 @@ -108,11 +108,11 @@ local function ApplyCardLayout(row, cW, cH) row.iconTex:ClearAllPoints() row.iconTex:SetSize(CARD_ICON, CARD_ICON) - row.iconTex:SetPoint("CENTER", row, "CENTER", 0, 0) + row.iconTex:SetPoint("CENTER", row, "CENTER", 0, 8) row.timerLabel:ClearAllPoints() - row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 14, "THICKOUTLINE") - row.timerLabel:SetPoint("CENTER", row, "CENTER", 0, 0) + row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 12, "THICKOUTLINE") + row.timerLabel:SetPoint("BOTTOM", row, "BOTTOM", 0, 4) row.bar:Hide() row.barFill:Hide() @@ -151,8 +151,7 @@ local function UpdateRow(row, now) elseif frac < 0.5 then row.barFill:SetVertexColor(0.9, 0.7, 0.1) else row.barFill:SetVertexColor(cd.r, cd.g, cd.b) end end - local color = row.isWide and "|cffff8040" or "|cffffffff" - row.timerLabel:SetText(color .. FormatTime(remaining) .. "|r") + row.timerLabel:SetText("|cffff8040" .. FormatTime(remaining) .. "|r") end else row.timerLabel:SetText("|cff00ff00Ready|r") From 6cf9dad714525c534b0040cdfed52b3258d5ebea Mon Sep 17 00:00:00 2001 From: RubyJ Date: Tue, 17 Mar 2026 16:41:32 -0400 Subject: [PATCH 6/6] chore: bump version to 1.3.0 --- CooldownTracker.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CooldownTracker.toc b/CooldownTracker.toc index f47e6c9..2c40dd8 100755 --- a/CooldownTracker.toc +++ b/CooldownTracker.toc @@ -2,7 +2,7 @@ ## Title: Healer Cooldown Tracker ## Notes: Manually track healer cooldowns for raid leaders. Click to start a timer when a healer calls out on comms. ## Author: Reube -## Version: 1.2.0 +## Version: 1.3.0 ## SavedVariables: CooldownTrackerDB Data.lua