mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed position of execution arrow
This commit is contained in:
parent
22b1ea6aab
commit
cb037979e9
1 changed files with 4 additions and 2 deletions
|
@ -4452,7 +4452,7 @@ namespace IDE.ui
|
||||||
{
|
{
|
||||||
mLinePointerDrawData.mUpdateCnt = gApp.mUpdateCnt;
|
mLinePointerDrawData.mUpdateCnt = gApp.mUpdateCnt;
|
||||||
mLinePointerDrawData.mDebuggerContinueIdx = gApp.mDebuggerContinueIdx;
|
mLinePointerDrawData.mDebuggerContinueIdx = gApp.mDebuggerContinueIdx;
|
||||||
g.Draw(img, mEditWidget.mX - GS!(20),
|
g.Draw(img, mEditWidget.mX - GS!(20) - leftAdjust,
|
||||||
0 + lineNum * lineSpacing);
|
0 + lineNum * lineSpacing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4865,8 +4865,10 @@ namespace IDE.ui
|
||||||
if (!mouseoverFired)
|
if (!mouseoverFired)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
float leftAdjust = GS!(12);
|
||||||
|
|
||||||
float editX = GetEditX();
|
float editX = GetEditX();
|
||||||
if ((mousePos.x < editX - 24) || (mousePos.x > editX - 5))
|
if ((mousePos.x < editX - GS!(24) - leftAdjust) || (mousePos.x > editX - GS!(5) - leftAdjust))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
int mouseLine = GetLineAt(mousePos.x, mousePos.y);
|
int mouseLine = GetLineAt(mousePos.x, mousePos.y);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue