do not preserve suppress flag on second half of split

This commit is contained in:
Manish Goregaokar 2018-01-24 14:31:07 +05:30
parent f3c81fcda8
commit fc97f0b464
2 changed files with 12 additions and 5 deletions

View file

@ -670,10 +670,10 @@ impl LineBreaker {
};
inline_start_fragment = split_result.inline_start.as_ref().map(|x| {
fragment.transform_with_split_info(x, split_result.text_run.clone())
fragment.transform_with_split_info(x, split_result.text_run.clone(), true)
});
inline_end_fragment = split_result.inline_end.as_ref().map(|x| {
fragment.transform_with_split_info(x, split_result.text_run.clone())
fragment.transform_with_split_info(x, split_result.text_run.clone(), false)
});
// Push the first fragment onto the line we're working on and start off the next line with