diff --git a/src/widgets/DisassemblyWidget.cpp b/src/widgets/DisassemblyWidget.cpp index 946a2d35..d74c1427 100644 --- a/src/widgets/DisassemblyWidget.cpp +++ b/src/widgets/DisassemblyWidget.cpp @@ -984,6 +984,11 @@ void DisassemblyLeftPanel::paintEvent(QPaintEvent *event) int arrowLineNumber = offsetToLine(arrow.jmpToffset()); int lineArrowY = lineToPixels(arrowLineNumber); + if (lineStartNumber == arrowLineNumber) { + currentLineYPos += lineHeight / 4; + lineArrowY -= lineHeight / 4; + } + // Draw the lines p.drawLine(rightOffset, currentLineYPos, rightOffset - lineOffset, currentLineYPos); // left p.drawLine(rightOffset - lineOffset, currentLineYPos, rightOffset - lineOffset,