diff --git a/docs/User-Interface.md b/docs/User-Interface.md index d6d9fc8e5..a02fbcefa 100644 --- a/docs/User-Interface.md +++ b/docs/User-Interface.md @@ -499,7 +499,7 @@ Sidebar.GDIPositions= ; boolean - Sidebar tooltips can now display extended information about the TechnoType/SWType when hovered over it's cameo. In addition the low character limit is lifted when the feature is enabled via the corresponding tag, allowing for 1024 character long tooltips. - TechnoType's tooltip would display it's name, cost, power, build time and description (when applicable). -- SWType's tooltip would display it's name, cost, and recharge time (when applicable). If `SW.Shots` from Ares is used, a message default to "Remain %d/%d" is appended. The format is customizable in csf. +- SWType's tooltip would display it's name, cost, and recharge time (when applicable). If `SW.Shots` from Ares is used, a message default to "Remain %d/%d shots" is appended. The format is customizable in csf. - Extended tooltips don't use `TXT_MONEY_FORMAT_1` and `TXT_MONEY_FORMAT_2`. Instead you can specify cost, power and time labels (displayed before correspoding values) with the corresponding tags. Characters `$ U+0024`, `⚡ U+26A1` and `⌚ U+231A` are used by default. - Fixed a bug when switching build queue tabs via QWER didn't make tooltips disappear as they should, resulting in stuck tooltips. - The tooltips can now go over the sidebar bounds to accommodate for longer contents. You can control maximum text width with a new tag (paddings are excluded from the number you specify). diff --git a/src/Phobos.INI.cpp b/src/Phobos.INI.cpp index 5a2fc0880..59441dc0f 100644 --- a/src/Phobos.INI.cpp +++ b/src/Phobos.INI.cpp @@ -123,7 +123,7 @@ DEFINE_HOOK(0x5FACDF, OptionsClass_LoadSettings_LoadPhobosSettings, 0x5) Phobos::UI::TimeLabel = GeneralUtils::LoadStringOrDefault(Phobos::readBuffer, L"\u231a"); // ⌚ pINI_UIMD->ReadString(TOOLTIPS_SECTION, "SWShotsFormat", NONE_STR, Phobos::readBuffer); - Phobos::UI::TimeLabel = GeneralUtils::LoadStringOrDefault(Phobos::readBuffer, L"Remain %d/%d shots"); // ⌚ + Phobos::UI::SWShotsFormat = GeneralUtils::LoadStringOrDefault(Phobos::readBuffer, L"Remain %d/%d shots"); // ⌚ } // Sidebar