1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added click to toggle breakpoint, ctrl-click for goto definition

This commit is contained in:
Brian Fiete 2020-03-12 06:53:11 -07:00
parent a18b51f1e3
commit 9102a54ce4
2 changed files with 32 additions and 12 deletions

View file

@ -2964,6 +2964,12 @@ namespace IDE.ui
var useX = x;
var useY = y;
if ((btn == 0) && (mWidgetWindow.IsKeyDown(.Control)))
{
gApp.GoToDefinition();
return;
}
if ((btn == 1) && (mSourceViewPanel != null))
{
#unwarn