mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
parent
93a06f5edd
commit
6e894a1e60
@ -984,6 +984,11 @@ void DisassemblyLeftPanel::paintEvent(QPaintEvent *event)
|
|||||||
int arrowLineNumber = offsetToLine(arrow.jmpToffset());
|
int arrowLineNumber = offsetToLine(arrow.jmpToffset());
|
||||||
int lineArrowY = lineToPixels(arrowLineNumber);
|
int lineArrowY = lineToPixels(arrowLineNumber);
|
||||||
|
|
||||||
|
if (lineStartNumber == arrowLineNumber) {
|
||||||
|
currentLineYPos += lineHeight / 4;
|
||||||
|
lineArrowY -= lineHeight / 4;
|
||||||
|
}
|
||||||
|
|
||||||
// Draw the lines
|
// Draw the lines
|
||||||
p.drawLine(rightOffset, currentLineYPos, rightOffset - lineOffset, currentLineYPos); // left
|
p.drawLine(rightOffset, currentLineYPos, rightOffset - lineOffset, currentLineYPos); // left
|
||||||
p.drawLine(rightOffset - lineOffset, currentLineYPos, rightOffset - lineOffset,
|
p.drawLine(rightOffset - lineOffset, currentLineYPos, rightOffset - lineOffset,
|
||||||
|
Loading…
Reference in New Issue
Block a user