mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 08:37:26 +00:00
improve selection colors (#976)
This commit is contained in:
parent
870907e669
commit
33339a00df
@ -510,8 +510,11 @@ void DisassemblerGraphView::drawBlock(QPainter &p, GraphView::GraphBlock &block)
|
||||
highlightWidth = block.width - widthBefore - (10 + 4 * charWidth);
|
||||
}
|
||||
|
||||
QColor selectionColor = disassemblySelectionColor.blue() > 160 ? QColor(179, 119, 214, 50) :
|
||||
QColor(52, 58, 71, 255);
|
||||
|
||||
p.fillRect(QRect(block.x + charWidth * 3 + widthBefore, y, highlightWidth,
|
||||
charHeight), disassemblySelectionColor.lighter(250));
|
||||
charHeight), selectionColor);
|
||||
}
|
||||
|
||||
y += int(instr.text.lines.size()) * charHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user