diff --git a/HSUI.csproj b/HSUI.csproj
index 30f11b5..c151737 100644
--- a/HSUI.csproj
+++ b/HSUI.csproj
@@ -9,9 +9,9 @@
HSUI
- 1.0.2.7
- 1.0.2.7
- 1.0.2.7
+ 1.0.2.8
+ 1.0.2.8
+ 1.0.2.8
diff --git a/HSUI.json b/HSUI.json
index bf941e7..3786e27 100644
--- a/HSUI.json
+++ b/HSUI.json
@@ -2,7 +2,7 @@
"Author": "Knack117",
"Name": "HSUI",
"InternalName": "HSUI",
- "AssemblyVersion": "1.0.2.7",
+ "AssemblyVersion": "1.0.2.8",
"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/Interface/HudHelper.cs b/Interface/HudHelper.cs
index 02ef2f4..10814da 100644
--- a/Interface/HudHelper.cs
+++ b/Interface/HudHelper.cs
@@ -106,6 +106,7 @@ namespace HSUI.Interface
UpdateJobGauges();
UpdateDefaultHudElementsHidden();
+ UpdateDefaultCastBar();
UpdateDefaultNameplates();
}
catch (Exception ex)
@@ -133,6 +134,7 @@ namespace HSUI.Interface
{
case "HideDefaultHudWhenReplaced":
UpdateDefaultHudElementsHidden();
+ UpdateDefaultCastBar();
break;
case "HideDefaultCastbar":
UpdateDefaultCastBar();
@@ -334,7 +336,11 @@ namespace HSUI.Interface
private unsafe void UpdateDefaultCastBar(bool forceVisible = false)
{
- if (Config.HideDefaultCastbar && !_hidingCastBar)
+ // Hide when explicit config says so, or when HSUI is replacing it (HideDefaultHudWhenReplaced + player castbar enabled)
+ bool playerCastbarEnabled = ConfigurationManager.Instance?.GetConfigObject()?.Enabled ?? false;
+ bool shouldHide = Config.HideDefaultCastbar || (Config.HideDefaultHudWhenReplaced && playerCastbarEnabled);
+
+ if (shouldHide && !_hidingCastBar)
{
Plugin.AddonLifecycle.RegisterListener(AddonEvent.PreDraw, "_CastBar", (addonEvent, args) =>
{
@@ -350,7 +356,7 @@ namespace HSUI.Interface
_hidingCastBar = true;
}
- else if ((forceVisible || !Config.HideDefaultCastbar) && _hidingCastBar)
+ else if ((forceVisible || !shouldHide) && _hidingCastBar)
{
Plugin.AddonLifecycle.UnregisterListener(AddonEvent.PreDraw, "_CastBar");
diff --git a/changelog.md b/changelog.md
index 77b439a..e6c7903 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,6 @@
+# 1.0.2.8
+- **Cast bar**: Default progress bar is now hidden when HSUI cast bar is enabled (with "Hide Default HUD When Replaced" on).
+
# 1.0.2.7
- **Hotbars**: Fixed Mount/Companion/Emote tooltips — now show actual mount name and description instead of generic "Mount".
diff --git a/pluginmaster.json b/pluginmaster.json
index f7ccf2e..61b38e8 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: Fixed Mount/Companion/Emote tooltips. Now show actual mount name and description.",
+ "Changelog": "Cast bar: Default progress bar hidden when HSUI cast bar is enabled.",
"InternalName": "HSUI",
- "AssemblyVersion": "1.0.2.7",
+ "AssemblyVersion": "1.0.2.8",
"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.7/latest.zip",
+ "DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.8/latest.zip",
"IsHide": false,
"IsTestingExclusive": false,
- "DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip",
- "DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip"
+ "DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.8/latest.zip",
+ "DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.8/latest.zip"
}
]