v1.0.2.6: Fix cooldown overlay direction (grey when used, lights up as ready)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-3
@@ -9,9 +9,9 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>HSUI</AssemblyName>
|
||||
<AssemblyVersion>1.0.2.5</AssemblyVersion>
|
||||
<FileVersion>1.0.2.5</FileVersion>
|
||||
<InformationalVersion>1.0.2.5</InformationalVersion>
|
||||
<AssemblyVersion>1.0.2.6</AssemblyVersion>
|
||||
<FileVersion>1.0.2.6</FileVersion>
|
||||
<InformationalVersion>1.0.2.6</InformationalVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"Author": "Knack117",
|
||||
"Name": "HSUI",
|
||||
"InternalName": "HSUI",
|
||||
"AssemblyVersion": "1.0.2.5",
|
||||
"AssemblyVersion": "1.0.2.6",
|
||||
"Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.",
|
||||
"ApplicableVersion": "any",
|
||||
"RepoUrl": "https://github.com/Knack117/HSUI",
|
||||
|
||||
@@ -264,7 +264,8 @@ namespace HSUI.Helpers
|
||||
|
||||
public static void DrawIconCooldown(Vector2 position, Vector2 size, float elapsed, float total, ImDrawListPtr drawList)
|
||||
{
|
||||
float completion = elapsed / total;
|
||||
// completion = how much of icon to grey out (remaining cooldown). Starts full, shrinks as it cools down.
|
||||
float completion = total > 0 ? 1f - (elapsed / total) : 0f;
|
||||
int segments = (int)Math.Ceiling(completion * 4);
|
||||
|
||||
Vector2 center = position + size / 2;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# 1.0.2.6
|
||||
- **Hotbars**: Fixed cooldown overlay direction — icon now greys out when used and lights back up as it cools down (was reversed).
|
||||
|
||||
# 1.0.2.5
|
||||
- **Hotbars**: More accurate cooldown tracking using ActionManager recast API (fixes actions like Continuation, Egi Assaults).
|
||||
- **Tooltips**: Fixed cast/recast display (60s was showing as 6.0s; correct Cast100ms/Recast100ms divisor).
|
||||
|
||||
+5
-5
@@ -4,9 +4,9 @@
|
||||
"Name": "HSUI",
|
||||
"Punchline": "A modern HUD replacement built for customization.",
|
||||
"Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.",
|
||||
"Changelog": "Hotbars: More accurate cooldown tracking. Tooltips: Fixed cast/recast display (60s was showing as 6.0s).",
|
||||
"Changelog": "Hotbars: Fixed cooldown overlay direction (grey when used, lights up as ready).",
|
||||
"InternalName": "HSUI",
|
||||
"AssemblyVersion": "1.0.2.5",
|
||||
"AssemblyVersion": "1.0.2.6",
|
||||
"RepoUrl": "https://github.com/Knack117/HSUI",
|
||||
"ApplicableVersion": "any",
|
||||
"Tags": ["UI", "HUD", "Unit Frames", "Nameplates", "Party Frames", "Hotbars"],
|
||||
@@ -14,10 +14,10 @@
|
||||
"DalamudApiLevel": 14,
|
||||
"IconUrl": "https://raw.githubusercontent.com/Knack117/HSUI/main/Media/Images/icon.png",
|
||||
"ImageUrls": [],
|
||||
"DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.5/latest.zip",
|
||||
"DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip",
|
||||
"IsHide": false,
|
||||
"IsTestingExclusive": false,
|
||||
"DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.5/latest.zip",
|
||||
"DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.5/latest.zip"
|
||||
"DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip",
|
||||
"DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user