mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-23 22:29:53 +00:00
change imgui toggle key from leftalt to f12 (#2794)
This commit is contained in:
parent
cf295952b6
commit
71b4ab5122
@ -152,7 +152,7 @@ class GameSubtitleSceneInfo {
|
||||
bool operator<(const SubtitleLine& other) const { return (frame < other.frame); }
|
||||
};
|
||||
|
||||
GameSubtitleSceneInfo(SubtitleSceneKind kind) : m_kind(kind), m_id(0), m_sorting_group_idx(-1) {}
|
||||
GameSubtitleSceneInfo(SubtitleSceneKind kind) : m_id(0), m_kind(kind), m_sorting_group_idx(-1) {}
|
||||
|
||||
const std::string& name() const { return m_name; }
|
||||
const std::vector<SubtitleLine>& lines() const { return m_lines; }
|
||||
|
@ -319,7 +319,7 @@ GLDisplay::GLDisplay(SDL_Window* window, SDL_GLContext gl_context, bool is_main)
|
||||
|
||||
// Register commands
|
||||
m_input_manager->register_command(CommandBinding::Source::KEYBOARD,
|
||||
CommandBinding(SDLK_LALT, [&]() {
|
||||
CommandBinding(SDLK_F12, [&]() {
|
||||
if (!Gfx::g_debug_settings.ignore_hide_imgui) {
|
||||
set_imgui_visible(!is_imgui_visible());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user