Skip to content
Merged
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
2 changes: 1 addition & 1 deletion CooldownTracker.toc
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0
## Version: 1.4.0
## SavedVariables: CooldownTrackerDB

Data.lua
Expand Down
18 changes: 9 additions & 9 deletions UI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ local AddonName, CT = ...
-- ---------------------------------------------------------------------------
-- Layout constants
-- ---------------------------------------------------------------------------
local TITLE_HEIGHT = 24
local BOTTOM_PAD = 8
local TITLE_HEIGHT = 20
local BOTTOM_PAD = 4
local ROW_PADDING = 6

-- Wide-row mode (columns = 1)
local WIDE_ROW_H = 36
local WIDE_W = 300
local ICON_SIZE = 28
-- Card mode (columns ≥ 2)
local CARD_W = 72
local CARD_H = 68
local CARD_PAD = 4
local CARD_ICON = 48
local CARD_W = 56
local CARD_H = 52
local CARD_PAD = 3
local CARD_ICON = 40

-- ---------------------------------------------------------------------------
-- Local helpers
Expand Down Expand Up @@ -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, 8)
row.iconTex:SetPoint("CENTER", row, "CENTER", 0, 5)

row.timerLabel:ClearAllPoints()
row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 12, "THICKOUTLINE")
row.timerLabel:SetPoint("BOTTOM", row, "BOTTOM", 0, 4)
row.timerLabel:SetFont("Fonts\\FRIZQT__.TTF", 11, "THICKOUTLINE")
row.timerLabel:SetPoint("BOTTOM", row, "BOTTOM", 0, 3)

row.bar:Hide()
row.barFill:Hide()
Expand Down
Loading