diff --git a/HSUI.csproj b/HSUI.csproj
index 316ea34..4f7e244 100644
--- a/HSUI.csproj
+++ b/HSUI.csproj
@@ -9,9 +9,9 @@
HSUI
- 1.0.2.5
- 1.0.2.5
- 1.0.2.5
+ 1.0.2.6
+ 1.0.2.6
+ 1.0.2.6
diff --git a/HSUI.json b/HSUI.json
index 630c733..34c20da 100644
--- a/HSUI.json
+++ b/HSUI.json
@@ -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",
diff --git a/Helpers/DrawHelper.cs b/Helpers/DrawHelper.cs
index 6f6207c..dfc5ac0 100644
--- a/Helpers/DrawHelper.cs
+++ b/Helpers/DrawHelper.cs
@@ -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;
diff --git a/changelog.md b/changelog.md
index 5d8e5b4..c2e4fe8 100644
--- a/changelog.md
+++ b/changelog.md
@@ -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).
diff --git a/pluginmaster.json b/pluginmaster.json
index 3a355cc..778ca62 100644
--- a/pluginmaster.json
+++ b/pluginmaster.json
@@ -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"
}
]