update changelog

This commit is contained in:
otavepto 2024-04-25 12:43:55 +02:00
parent f243271feb
commit 5adf83ee10
3 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,13 @@
## 2024/4/25 (hotfix 1)
* fixed mismatching push/pop for the overlay style, resulting in a crash when the default colors are changed
## 2024/4/25
* **[schmurger]** improved achievement notification:
- added new overlay appearance option `Notification_Rounding` which allows increasing the roundness of the notifications corners
- the overlay ini file now contains color scheme similar to the one used in steam for the notification background
* added a new button to the overlay `"Test achievement"` which triggeres a test achievement, suggested by **[Kirius88]**
* added a new button to the overlay `"Test achievement"` which triggers a test achievement, suggested by **[Kirius88]**
note that the icon for this test achievement is selected randomly from the current list of achievements
* added a new overlay appearance option `Achievement_Unlock_Datetime_Format` which allows changing the date/time format of the unlocked achievements, suggested by **[Clompress]**
* removed the condition which disabled the overlay sounds when it is shown, suggested by **[Vlxst]**

View File

@ -247,7 +247,7 @@ const char translationTestAchievement[TRANSLATION_NUMBER_OF_LANGUAGES][TRANSLATI
u8"Test achievement",
// 19 - Brazilian Portuguese
u8"Copiar ID",
u8"Test achievement",
// 20 - Romanian
u8"Test achievement",

View File

@ -1338,6 +1338,7 @@ void Steam_Overlay::render_main_window()
if (ImGui::IsItemClicked() && ImGui::IsMouseDoubleClicked(0)) {
i.second.window_state |= window_state_show;
}
ImGui::PopID();
build_friend_window(i.first, i.second);
@ -1465,9 +1466,11 @@ void Steam_Overlay::render_main_window()
if (ImGui::Begin(URL_WINDOW_NAME, &show)) {
ImGui::Text("%s", translationSteamOverlayURL[current_language]);
ImGui::Spacing();
ImGui::PushItemWidth(ImGui::CalcTextSize(url.c_str()).x + 20);
ImGui::InputText("##url_copy", (char *)url.data(), url.size(), ImGuiInputTextFlags_ReadOnly);
ImGui::PopItemWidth();
ImGui::Spacing();
if (ImGui::Button(translationClose[current_language]) || !show)
show_url = "";