Skip to content

Commit

Permalink
Fix picking up global control shortcuts incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Jul 19, 2015
1 parent a6bed1b commit b593f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderdocui/Windows/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ protected override bool ProcessCmdKey(ref Message msg, Keys keyData)

for (int i = 0; i < digits.Length; i++)
{
if ((keyData & digits[i]) == digits[i])
if (keyData == (Keys.Control|digits[i]))
{
EventBrowser eb = m_Core.GetEventBrowser();

Expand Down

0 comments on commit b593f74

Please sign in to comment.