mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 02:54:09 +00:00
Fix selection drawing for RTL text in tables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1477 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
57c15faef9
commit
9663fdca31
@ -3220,7 +3220,9 @@ void LyXText::GetVisibleRow(BufferView * bview, int y_offset, int x_offset,
|
||||
sel_start_cursor.pos() <= pos) &&
|
||||
(sel_end_cursor.row() != row_ptr ||
|
||||
pos < sel_end_cursor.pos()) )
|
||||
pain.fillRectangle(x_offset + int(old_tmpx),
|
||||
/// Here we do not use x_offset as x_offset was
|
||||
// added to x.
|
||||
pain.fillRectangle(int(old_tmpx),
|
||||
y_offset,
|
||||
int(tmpx - old_tmpx + 1),
|
||||
row_ptr->height(),
|
||||
|
Loading…
Reference in New Issue
Block a user