1
0
mirror of synced 2024-11-24 07:40:17 +01:00

feat: Added tooltip to nightly icon on welcome screen

This commit is contained in:
WerWolv 2024-06-26 20:37:39 +02:00
parent e2d55446fe
commit 2132e5adbf
2 changed files with 3 additions and 0 deletions

View File

@ -1008,6 +1008,7 @@
"hex.builtin.welcome.customize.settings.desc": "Change preferences of ImHex",
"hex.builtin.welcome.customize.settings.title": "Settings",
"hex.builtin.welcome.drop_file": "Drop a file here to get started...",
"hex.builtin.welcome.nightly_build": "You're running a nightly build of ImHex.\n\nPlease report any bugs you encounter on the GitHub issue tracker!",
"hex.builtin.welcome.header.customize": "Customize",
"hex.builtin.welcome.header.help": "Help",
"hex.builtin.welcome.header.info": "Information",

View File

@ -190,7 +190,9 @@ namespace hex::plugin::builtin {
ImGui::SameLine(0);
ImGui::SetCursorPosX(ImGui::GetCursorPosX() - 15_scaled);
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5_scaled);
ImGui::Image(s_nightlyTexture, s_nightlyTexture.getSize());
ImGuiExt::InfoTooltip("hex.builtin.welcome.nightly_build"_lang);
ImGui::SetCursorPos(cursor);
}