Skip to content

Commit af6006b

Browse files
pd0wmtwilsonco
authored andcommitted
cabana: fix overlap in byte highlighting (commaai#27139)
1 parent a0f6d6e commit af6006b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cabana/util.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void MessageBytesDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
8585
pos.moveLeft(pos.x() + space.width());
8686

8787
int m = space.width() / 2;
88-
const QMargins margins(m + 1, m, m, m);
88+
const QMargins margins(m, m, m, m);
8989

9090
int i = 0;
9191
for (auto &byte : opt.text.split(" ")) {

0 commit comments

Comments
 (0)