Subject | Hash | Author | Date (UTC) |
---|---|---|---|
fix!: aura tooltip aura buttons clearly visible | dcebd82df00d5daee8d008c625e71d13c8da8c37 | Vladyslav Bondarenko | 2025-02-02 21:26:15 |
feat: bump version to 0.12.0-10 | fffe025cfcfbe5ec0356d34cffdef1bfb62ea0af | Vladyslav Bondarenko | 2025-02-02 18:57:49 |
feat: allow aura tooltip to be dragged | d4d699efa596b5bc5004873b3e41b50a09f4f3db | Vladyslav Bondarenko | 2025-02-02 18:56:00 |
feat!: create singleton aura tooltip | 8e8e798543ef100a71ba2a9d212e66b1ddd667ab | Vladyslav Bondarenko | 2025-02-02 00:04:55 |
fix: show auras over role widgets | 3bb62c88147af0ee522f4ce963ce206c315f4c9a | Vladyslav Bondarenko | 2025-02-01 21:27:33 |
fix: sanitize FrameXML | fa5b0bbc1db073aa06e59d9bf03eb8d471a084b2 | Vladyslav Bondarenko | 2025-02-01 19:20:16 |
fix: make combat widget more visible | 4b01d27fa7eeef55a6dcb866ec30641ee80e6f5b | Vladyslav Bondarenko | 2025-02-01 18:02:43 |
fix: make player roles more visible | e28bbf987659ac717962de851226aa33409f472a | Vladyslav Bondarenko | 2025-02-01 18:02:21 |
feat: remove player from party frame | 6d5f8b8a8bb1af9b596895ba42fdefed177560b6 | Vladyslav Bondarenko | 2025-02-01 16:07:20 |
feat: bump version to 0.12.0 | 83bd49398b8bff070bcb3664be634b02c78fa6dc | Vladyslav Bondarenko | 2025-01-29 16:39:56 |
fix: appease static analysis | ce0659b8b6fb49f42fda914d2fd47da38fb80e63 | Vladyslav Bondarenko | 2025-01-29 16:39:39 |
fix!: persist frame position settings correctly | 390fb24c1b2a19e378694adfa6efc7c93bdf1a55 | Vladyslav Bondarenko | 2025-01-29 16:34:56 |
feat!: drag chorus frames and save their positions | e84a0e1d4a43760bbb177de901575ff10b388ccc | Vladyslav Bondarenko | 2025-01-29 09:37:39 |
fix: only drag frames out of combat | 03ca7d9431c849e824699089dd82739f1c28870e | Vladyslav Bondarenko | 2025-01-28 07:43:06 |
feat: bump nightly version | 05ac3fad466d01d2591439c6a39e5ae47d38803b | Vladyslav Bondarenko | 2025-01-27 21:37:11 |
feat!: add configuration menu | 254bab612dbdadb0db925eab00cec81256b032ff | Vladyslav Bondarenko | 2025-01-27 21:30:05 |
fix: aura buttons do not violate borders | 452ee7ff2e66a63e1c86f1cc1d9056b4ebe5cec4 | Vladyslav Bondarenko | 2025-01-27 18:02:08 |
fix: do not overlap tiny aura buttons | 6f894b23eb90d2e88f57285ef7d5779550386ab9 | Vladyslav Bondarenko | 2025-01-27 17:58:48 |
fix: unify aura button logic | 52c88f27f978e6ae528e4d04507f8c73184f904c | Vladyslav Bondarenko | 2025-01-27 17:50:00 |
feat!: extend huge unit with more aura buttons | 36bba5e5bb7170758410ca3d7e3b619a68591937 | Vladyslav Bondarenko | 2025-01-17 14:58:43 |
File | Lines added | Lines deleted |
---|---|---|
src/ChorusAuraTooltipFrameTemplate.lua | 30 | 0 |
src/ChorusAuraTooltipFrameTemplate.xml | 1 | 1 |
File src/ChorusAuraTooltipFrameTemplate.lua changed (mode: 100644) (index ff881d3..609871d) | |||
... | ... | local Chorus = Chorus | |
6 | 6 | ||
7 | 7 | local strtrim = strtrim | local strtrim = strtrim |
8 | 8 | ||
9 | --[[-- | ||
10 | Set frame strata of all descendants to `TOOLTIP` recursively. | ||
11 | |||
12 | Normally, aura buttons for tooltip aura frame are obscured visually by the | ||
13 | parent frame. This function is a crutch to fix this particular issue. | ||
14 | |||
15 | @function frameStrataTooltipApply | ||
16 | @tparam frame frame given frame which descendants to modify | ||
17 | @return nothing | ||
18 | ]] | ||
19 | local function frameStrataTooltipApply(frame) | ||
20 | assert(frame ~= nil) | ||
21 | |||
22 | local i = 0 | ||
23 | local t = {frame:GetChildren()} | ||
24 | while (i < #t) do | ||
25 | i = i + 1 | ||
26 | local d = t[i] | ||
27 | if d then | ||
28 | d:SetFrameStrata('TOOLTIP') | ||
29 | local e = d:GetChildren() | ||
30 | if e then | ||
31 | frameStrataTooltipApply(d) | ||
32 | end | ||
33 | end | ||
34 | end | ||
35 | end | ||
36 | |||
9 | 37 | --[[-- | --[[-- |
10 | 38 | `ChorusAuraTooltipFrameTemplate` is *not* the familiar tooltip frame. Instead, | `ChorusAuraTooltipFrameTemplate` is *not* the familiar tooltip frame. Instead, |
11 | 39 | it is intended to conditionally show all auras on a given unit. | it is intended to conditionally show all auras on a given unit. |
... | ... | local function auraTooltipFrameMain(self) | |
63 | 91 | self:RegisterForDrag('LeftButton', 'RightButton') | self:RegisterForDrag('LeftButton', 'RightButton') |
64 | 92 | self:SetScript('OnDragStart', self.StartMoving) | self:SetScript('OnDragStart', self.StartMoving) |
65 | 93 | self:SetScript('OnDragStop', self.StopMovingOrSizing) | self:SetScript('OnDragStop', self.StopMovingOrSizing) |
94 | |||
95 | frameStrataTooltipApply(self) | ||
66 | 96 | end | end |
67 | 97 | ||
68 | 98 | Chorus.auraTooltipFrameMain = function(...) | Chorus.auraTooltipFrameMain = function(...) |
File src/ChorusAuraTooltipFrameTemplate.xml changed (mode: 100644) (index 1f528a4..070258a) | |||
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <Ui xmlns="http://www.blizzard.com/wow/ui/"> | <Ui xmlns="http://www.blizzard.com/wow/ui/"> |
3 | 3 | <Script file="ChorusAuraTooltipFrameTemplate.lua"/> | <Script file="ChorusAuraTooltipFrameTemplate.lua"/> |
4 | <Frame name="ChorusAuraTooltipFrameAuraFrameTemplate" inherits="ChorusAuraFrameTemplate" virtual="true"> | ||
4 | <Frame name="ChorusAuraTooltipFrameAuraFrameTemplate" frameStrata="TOOLTIP" inherits="ChorusAuraFrameTemplate" virtual="true"> | ||
5 | 5 | <Size> | <Size> |
6 | 6 | <AbsDimension x="180" y="180"/> | <AbsDimension x="180" y="180"/> |
7 | 7 | </Size> | </Size> |