mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Revert the rtl-part of r30962.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31205 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8326148f69
commit
c41a38d7d3
@ -680,8 +680,7 @@ void RowPainter::paintLast()
|
||||
FontInfo const font = labelFont();
|
||||
FontMetrics const & fm = theFontMetrics(font);
|
||||
docstring const & str = par_.layout().endlabelstring();
|
||||
double const x = is_rtl ?
|
||||
text_metrics_.width() - row_.width() - fm.width(str) : x_;
|
||||
double const x = is_rtl ? x_ - fm.width(str) : x_;
|
||||
pi_.pain.text(int(x), yo_, str, font);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user