add shift+g to jump to bottom of chat log

This commit is contained in:
Green Sky
2025-11-15 11:27:51 +01:00
parent 7858474d35
commit 2d536c3597

View File

@@ -1074,7 +1074,7 @@ void ChatGui4::renderChatLog(Contact4 c, bool window_focused, const std::vector<
ImGui::EndTable(); ImGui::EndTable();
} }
if (ImGui::Shortcut(ImGuiKey_End, ImGuiInputFlags_RouteGlobal)) { if (ImGui::Shortcut(ImGuiKey_G | ImGuiMod_Shift, ImGuiInputFlags_RouteGlobal) || ImGui::Shortcut(ImGuiKey_End, ImGuiInputFlags_RouteGlobal)) {
ImGui::SetScrollHereY(1.f); ImGui::SetScrollHereY(1.f);
manually_scrolled = true; manually_scrolled = true;
} }