Subject | Hash | Author | Date (UTC) |
---|---|---|---|
feat: Hide status bar text on demand | 307d97f5afee88e55c6799e4c4390ca8d6e98974 | Vladyslav Bondarenko | 2023-08-23 21:11:35 |
feat: Hide auras out of frame bounds | cb9ca55fb9dc361500e8b4f4c84320eb7d01b744 | Vladyslav Bondarenko | 2023-08-23 20:53:30 |
fix: Add text shadow to unit names | 2b7d56c701ad81825a838c9faa818632bf38bfb6 | Vladyslav Bondarenko | 2023-08-23 17:30:23 |
fix: Further sanitize health bar | 3318dee15eac9b8205e287997800c080b0aaf12d | Vladyslav Bondarenko | 2023-08-23 14:56:00 |
feat!: Correct range indcator for all characters | 8ef1a987ac4431ce90131c354d1a1775b653f3e3 | Vladyslav Bondarenko | 2023-08-22 15:05:35 |
fix: Improve health bar robustness | 2be053184653a6cd282437f8190e9196af495d81 | Vladyslav Bondarenko | 2023-08-22 13:24:12 |
fix: Upgrade aura sorting | a2132995674f81e0775def67b0f5786945b0bba3 | Vladyslav Bondarenko | 2023-08-22 13:21:37 |
feat: Add threat percentage for hostiles | 590bc95167dfc0f22a135fe173182104b6f5b923 | Vladyslav Bondarenko | 2023-08-22 13:17:57 |
feat: Add threat for hostiles | 22562481a0c9dfb297ebbe47da4aa19046cf6eeb | Vladyslav Bondarenko | 2023-08-21 22:28:50 |
fix(build): Add more luacheck definitions | aac4bb444d894b5d565af3abe417cbafd4f966f5 | Vladyslav Bondarenko | 2023-08-21 18:09:50 |
fix: Ensure TargetFrame is hidden | 98bd355e604bf1c51791d5f5874ef33ab640123c | Vladyslav Bondarenko | 2023-08-21 14:04:40 |
fix: Show only meaningful numbers for health | 37217b1dc78c0a2b4711dc45ada0c4873e904a1f | Vladyslav Bondarenko | 2023-08-21 13:32:19 |
fix: Remove testing range frame | 4fcfd5c7bf4626137a1251cbcbe54157055ac875 | Vladyslav Bondarenko | 2023-08-21 13:10:16 |
fix: Place solo frames range frame correctly | f926b1fb857a48b14a706926f14b5da730d210f1 | Vladyslav Bondarenko | 2023-08-21 13:08:42 |
feat!: Re-add player solo frames | bf5346aa96a3daeadafeb3a723f7821012f1d5e5 | Vladyslav Bondarenko | 2023-08-21 12:22:48 |
fix: Render raid target icon on correct layer | 890bb5340a3876b611f67ac1277cc009e5e4df5b | Vladyslav Bondarenko | 2023-08-20 18:12:31 |
feat: Display health deficit | 0620038bf95d2c8e77eb088f2345764f428563d4 | Vladyslav Bondarenko | 2023-08-20 17:55:49 |
fix(build): Update rockspec | dcffb9897deb97fa4039cd4513a51e397ebc4ab7 | Vladyslav Bondarenko | 2023-08-20 17:16:25 |
feat!: Update raid frame layout | ad51f7e37e8babd30ee45c5b87d931a09c1fc0f3 | Vladyslav Bondarenko | 2023-08-20 14:45:38 |
fix: Do not show range to oneself | c055a76806c5646e4027698c6a105f06199be4ae | Vladyslav Bondarenko | 2023-08-20 04:29:32 |
File | Lines added | Lines deleted |
---|---|---|
src/ChorusProgressFrameTemplate.lua | 11 | 0 |
src/ChorusProgressFrameTemplate.xml | 4 | 1 |
File src/ChorusProgressFrameTemplate.lua changed (mode: 100644) (index ece5e63..0cda9d2) | |||
... | ... | local function getRatio(a, b) | |
81 | 81 | return ratio | return ratio |
82 | 82 | end | end |
83 | 83 | ||
84 | local function toggleText(self) | ||
85 | local flag = self:GetAttribute('showText') | ||
86 | if not flag then | ||
87 | self.label1:Hide() | ||
88 | self.label2:Hide() | ||
89 | self.label3:Hide() | ||
90 | end | ||
91 | end | ||
92 | |||
84 | 93 | local function applySize(self) | local function applySize(self) |
85 | 94 | assert(self ~= nil) | assert(self ~= nil) |
86 | 95 | ||
... | ... | local function healthFrameEventProcessor(self) | |
354 | 363 | applySize(self) | applySize(self) |
355 | 364 | applyRatioHealth(self, unitDesignation) | applyRatioHealth(self, unitDesignation) |
356 | 365 | applyOverlayHealth(self, unitDesignation) | applyOverlayHealth(self, unitDesignation) |
366 | toggleText(self) | ||
357 | 367 | ||
358 | 368 | local strategy = self.strategy | local strategy = self.strategy |
359 | 369 | assert(strategy ~= nil) | assert(strategy ~= nil) |
... | ... | local function powerFrameEventProcessor(self) | |
453 | 463 | applyRatioPower(self, unitDesignation, powerTypeEnum) | applyRatioPower(self, unitDesignation, powerTypeEnum) |
454 | 464 | applyOverlayPower(self, unitDesignation, powerTypeEnum) | applyOverlayPower(self, unitDesignation, powerTypeEnum) |
455 | 465 | applyPowerFrameColor(self, powerTypeEnum) | applyPowerFrameColor(self, powerTypeEnum) |
466 | toggleText(self) | ||
456 | 467 | else | else |
457 | 468 | self:Hide() | self:Hide() |
458 | 469 | end | end |
File src/ChorusProgressFrameTemplate.xml changed (mode: 100644) (index 2ac7315..caca7a2) | |||
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="ChorusProgressFrameTemplate.lua"/> | <Script file="ChorusProgressFrameTemplate.lua"/> |
4 | <StatusBar name="ChorusProgressFrameTemplate" minValue="0" maxValue="1" defaultValue="1" virtual="true"> | ||
4 | <StatusBar name="ChorusProgressFrameTemplate" minValue="0" maxValue="1" defaultValue="1" virtual="true" frameStrata="BACKGROUND"> | ||
5 | 5 | <Layers> | <Layers> |
6 | 6 | <Layer level="BACKGROUND"> | <Layer level="BACKGROUND"> |
7 | 7 | <Texture name="$parentBackground" nonBlocking="true" setAllPoints="true"> | <Texture name="$parentBackground" nonBlocking="true" setAllPoints="true"> |
33 | 33 | </FontString> | </FontString> |
34 | 34 | </Layer> | </Layer> |
35 | 35 | </Layers> | </Layers> |
36 | <Attributes> | ||
37 | <Attribute name="showText" type="boolean" value="true"/> | ||
38 | </Attributes> | ||
36 | 39 | <BarTexture name="$parentArtwork" file="Interface\TargetingFrame\UI-StatusBar"/> | <BarTexture name="$parentArtwork" file="Interface\TargetingFrame\UI-StatusBar"/> |
37 | 40 | <BarColor r="1" g="0" b="1" a="1"/> | <BarColor r="1" g="0" b="1" a="1"/> |
38 | 41 | </StatusBar> | </StatusBar> |