mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Merge pull request #762 from mcourteaux/master
Fix Ctrl-Shift-Alt-R bug
This commit is contained in:
commit
565656b021
@ -649,9 +649,9 @@ bool View::Draw()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( !m_staticView &&
|
if( !m_staticView &&
|
||||||
( ImGui::IsModKey( ImGuiKey_LeftCtrl ) || ImGui::IsModKey( ImGuiKey_RightCtrl ) ) &&
|
( ImGui::IsKeyDown( ImGuiKey_LeftCtrl ) || ImGui::IsKeyDown( ImGuiKey_RightCtrl ) ) &&
|
||||||
( ImGui::IsModKey( ImGuiKey_LeftShift ) || ImGui::IsModKey( ImGuiKey_RightShift ) ) &&
|
( ImGui::IsKeyDown( ImGuiKey_LeftShift ) || ImGui::IsKeyDown( ImGuiKey_RightShift ) ) &&
|
||||||
( ImGui::IsModKey( ImGuiKey_LeftAlt ) || ImGui::IsModKey( ImGuiKey_RightAlt ) ) &&
|
( ImGui::IsKeyDown( ImGuiKey_LeftAlt ) || ImGui::IsKeyDown( ImGuiKey_RightAlt ) ) &&
|
||||||
ImGui::IsKeyPressed( ImGuiKey_R ) )
|
ImGui::IsKeyPressed( ImGuiKey_R ) )
|
||||||
{
|
{
|
||||||
m_reconnectRequested = true;
|
m_reconnectRequested = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user