]> git.lyx.org Git - lyx.git/blobdiff - src/text.C
Fixes for/in insettabular/text.
[lyx.git] / src / text.C
index d915aac7280447325cb8f12ab8e540039e70dcc8..52307ec5c3543502a4e46550b7311c4b442de313 100644 (file)
@@ -3391,7 +3391,7 @@ void LyXText::GetVisibleRow(BufferView * bview, int y_offset, int x_offset,
 
                for (int i = 1; i <= depth; ++i) {
                        int const line_x = (LYX_PAPER_MARGIN / 5) *
-                               (i + minipage) + box_x;
+                               (i + minipage) + box_x + x_offset;
                        pain.line(line_x, y_offset, line_x,
                                  y_offset + row_ptr->height() - 1 - (i - next_depth - 1) * 3,
                                  LColor::depthbar);