mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Adjust arrow offset calculation.
This commit is contained in:
parent
4487564f7d
commit
d78e43a403
@ -830,8 +830,7 @@ void DisassemblyLeftPanel::paintEvent(QPaintEvent *event)
|
||||
constexpr int arrowWidth = 5;
|
||||
int rightOffset = size().rwidth();
|
||||
auto tEdit = qobject_cast<DisassemblyTextEdit*>(disas->getTextWidget());
|
||||
int topOffset = int(tEdit->document()->documentMargin() + tEdit->contentsMargins().top() +
|
||||
disas->contentsMargins().top());
|
||||
int topOffset = int(tEdit->document()->documentMargin() + tEdit->contentsMargins().top());
|
||||
int lineHeight = disas->getFontMetrics().height();
|
||||
QColor arrowColorDown = ConfigColor("flow");
|
||||
QColor arrowColorUp = ConfigColor("cflow");
|
||||
|
Loading…
Reference in New Issue
Block a user