mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Recompute Paragraph::beginOfBody() earlier
In redoParagraph, this should be done before coping with the insets, other wise some graphic gliches may occur. This is a better fix for Fixes bug #10163.
This commit is contained in:
parent
b9c7594167
commit
71374b38c2
@ -402,6 +402,7 @@ bool TextMetrics::redoParagraph(pit_type const pit)
|
||||
}
|
||||
|
||||
// redo insets
|
||||
par.setBeginOfBody();
|
||||
Font const bufferfont = buffer.params().getFont();
|
||||
CoordCache::Insets & insetCache = bv_->coordCache().insets();
|
||||
InsetList::const_iterator ii = par.insetList().begin();
|
||||
@ -435,7 +436,6 @@ bool TextMetrics::redoParagraph(pit_type const pit)
|
||||
}
|
||||
}
|
||||
|
||||
par.setBeginOfBody();
|
||||
pos_type first = 0;
|
||||
size_t row_index = 0;
|
||||
bool need_new_row = false;
|
||||
|
Loading…
Reference in New Issue
Block a user