Skip to content

Commit

Permalink
typo again
Browse files Browse the repository at this point in the history
  • Loading branch information
chaserli committed Sep 23, 2024
1 parent 85656ce commit 075768a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/User-Interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/Phobos.INI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 075768a

Please sign in to comment.