mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
parent
da3c3796ee
commit
a64244b844
@ -343,9 +343,9 @@ void RowPainter::paintDepthBar() const
|
|||||||
for (depth_type i = 1; i <= depth; ++i) {
|
for (depth_type i = 1; i <= depth; ++i) {
|
||||||
int const w = nestMargin() / 5;
|
int const w = nestMargin() / 5;
|
||||||
int x = int(xo_) + w * i;
|
int x = int(xo_) + w * i;
|
||||||
// consider the bufferview left margin if we're drawing outermost text
|
// only consider the changebar space if we're drawing outermost text
|
||||||
if (text_.isMainText())
|
if (text_.isMainText())
|
||||||
x += pi_.base.bv->leftMargin();
|
x += pi_.base.bv->leftMargin() - changebarMargin();
|
||||||
|
|
||||||
int const starty = yo_ - row_.ascent();
|
int const starty = yo_ - row_.ascent();
|
||||||
int const h = row_.height() - 1 - (i - next_depth - 1) * 3;
|
int const h = row_.height() - 1 - (i - next_depth - 1) * 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user