mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
When a displayed inset is aligned left, align it left
The use of LYX_ALIGN_BLOCK was a mistake. Fixes bug #12683.
This commit is contained in:
parent
8cc13656cd
commit
7d78078838
@ -621,7 +621,7 @@ LyXAlignment TextMetrics::getAlign(Paragraph const & par, Row const & row) const
|
||||
if (Inset const * inset = par.getInset(row.pos())) {
|
||||
if (inset->rowFlags() & Display) {
|
||||
if (inset->rowFlags() & AlignLeft)
|
||||
align = LYX_ALIGN_BLOCK;
|
||||
align = LYX_ALIGN_LEFT;
|
||||
else if (inset->rowFlags() & AlignRight)
|
||||
align = LYX_ALIGN_RIGHT;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user