Subject | Hash | Author | Date (UTC) |
---|---|---|---|
fix!: Show raid targeting icon correctly | ae5a1c5541d4bf137ea287671eb1f558422b26f4 | Vladyslav Bondarenko | 2023-08-27 15:24:57 |
fix!: Disable test mockup for release 0.4 | 54113d6a7f222ea2f382a1d5382c8e941e7537b1 | Vladyslav Bondarenko | 2023-08-26 22:42:33 |
fix: Apply source formatting before 0.4 | cb1c5f11b553aba43751091c8746abdf261806e6 | Vladyslav Bondarenko | 2023-08-26 22:36:57 |
fix!: Cast bar consistent between targets | a7c5e11ec5094033e946a95002010e5b02d6da74 | Vladyslav Bondarenko | 2023-08-26 21:56:35 |
fix(test)!: Add primitive test mockups | f2b7fcf2058c7c1b61ef43241f55e92a5113bf57 | Vladyslav Bondarenko | 2023-08-26 16:55:54 |
feat(build): Update project descriptors for 0.3 | 740e01cc3a8888e0500ce213d7901f66625919ab | Vladyslav Bondarenko | 2023-08-25 21:15:10 |
feat: Add solo target of target | f11b332540168ff42f4f9b53abd87b8b2a09db65 | Vladyslav Bondarenko | 2023-08-25 20:44:27 |
feat: Add player pet button to solo frame | 00e67525cafb6db5256cd43ecf8a7f510354b88f | Vladyslav Bondarenko | 2023-08-25 19:58:10 |
fix: Hide power (mana) bar when appropriate | e307bbfdabbe63faed3a7de9e0152639418496b8 | Vladyslav Bondarenko | 2023-08-25 19:56:53 |
feat!: Add party frame | f50f93dc80f86f8fb280836366252520fd417b29 | Vladyslav Bondarenko | 2023-08-25 18:18:24 |
fix!: Toggle frame visibility with unit watch | 3ab89d1ee3ae8d2a1afa94610140767b28f12c6a | Vladyslav Bondarenko | 2023-08-25 18:09:32 |
feat!: Add target of target or raid target units | af78c022d560f964fd38e973491a4e815bf13275 | Vladyslav Bondarenko | 2023-08-25 18:03:08 |
fix!: Hidden unit buttons obstruct mouse clicks | d746f12ffb2a6e87968c80224cc8a2f5485a4c76 | Vladyslav Bondarenko | 2023-08-25 13:51:56 |
feat: Add unit level to huge unit buttons | 57c502e2ea48241401428e7de523e2672911b2c6 | Vladyslav Bondarenko | 2023-08-25 13:13:05 |
feat!: Add cast bar for huge unit buttons | f921c3e2c1417036981f9e7ac9d070d66e4d7d19 | Vladyslav Bondarenko | 2023-08-25 11:38:37 |
fix: Add threat and range widgets to large buttons | 8956671551dbd110d2f62b482579851f5283a065 | Vladyslav Bondarenko | 2023-08-25 09:36:02 |
fix: Filter out irrelevant events for status bars | d11036a029bb51458c5bc592baf592463a05f11a | Vladyslav Bondarenko | 2023-08-25 09:02:07 |
feat: When group member out of range fade out | e1b06d6c96ddceb3aa35ad5cc249671a5c1bf852 | Vladyslav Bondarenko | 2023-08-25 08:58:53 |
fix: Add unit tooltip | 9b853289a7730a8783f02691c944492e0ef53f86 | Vladyslav Bondarenko | 2023-08-25 08:15:33 |
fix: Yet another health bar sanitization | 979af69272eec06c45cb300132bc020a91a180c2 | Vladyslav Bondarenko | 2023-08-24 03:52:05 |
File | Lines added | Lines deleted |
---|---|---|
src/ChorusRaidTargetIconFrameTemplate.lua | 7 | 12 |
File src/ChorusRaidTargetIconFrameTemplate.lua changed (mode: 100644) (index f6b76b1..9ef0cdb) | |||
... | ... | local function raidTargetIconFrameEventProcessor(self) | |
20 | 20 | assert(string.len(u) >= 1) | assert(string.len(u) >= 1) |
21 | 21 | assert(string.len(u) <= 256) | assert(string.len(u) <= 256) |
22 | 22 | ||
23 | if UnitExists(u) and UnitIsConnected(u) then | ||
24 | self:Show() | ||
25 | else | ||
26 | self:Hide() | ||
27 | return | ||
28 | end | ||
29 | |||
30 | 23 | local raidIconIndex = GetRaidTargetIndex(u) | local raidIconIndex = GetRaidTargetIndex(u) |
31 | if not raidIconIndex then | ||
32 | self:Hide() | ||
33 | return | ||
34 | end | ||
35 | 24 | ||
36 | 25 | local artwork = self.artwork or _G[self:GetName() .. 'Artwork'] | local artwork = self.artwork or _G[self:GetName() .. 'Artwork'] |
37 | 26 | assert(artwork ~= nil) | assert(artwork ~= nil) |
38 | 27 | ||
39 | SetRaidTargetIconTexture(artwork, raidIconIndex) | ||
28 | if UnitExists(u) and UnitIsConnected(u) and raidIconIndex then | ||
29 | SetRaidTargetIconTexture(artwork, raidIconIndex) | ||
30 | self:Show() | ||
31 | else | ||
32 | SetRaidTargetIconTexture(artwork, 0) | ||
33 | self:Hide() | ||
34 | end | ||
40 | 35 | end | end |
41 | 36 | ||
42 | 37 | function Chorus.raidTargetIconFrameMain(self) | function Chorus.raidTargetIconFrameMain(self) |