1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 07:44:09 +02:00

Fixed ctrl+click Go To Definition timing issue

This commit is contained in:
Brian Fiete 2020-10-13 07:27:10 -07:00
parent 14609dc636
commit c3b697c0a4
2 changed files with 8 additions and 1 deletions

View file

@ -3592,7 +3592,7 @@ namespace IDE.ui
var useX = x;
var useY = y;
if ((btn == 0) && (mWidgetWindow.IsKeyDown(.Control)) && (x == origX) && (y == origY))
if ((btn == 0) && (mWidgetWindow.mMouseDownKeyFlags.HasFlag(.Ctrl)) && (x == origX) && (y == origY))
{
gApp.GoToDefinition(false);
return;