feat: Added tooltip to nightly icon on welcome screen
This commit is contained in:
parent
e2d55446fe
commit
2132e5adbf
@ -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",
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user