性能优化,去除多余的无效标记
This commit is contained in:
parent
4418c383bc
commit
0b5487f69d
@ -39,8 +39,8 @@ void mtext_block::arrange_children(const geometry_t& in_allotted_geometry) {
|
||||
}
|
||||
} else {
|
||||
layout_ = font_manager::instance().layout_text(text_, font_, font_size_, 0, line_spacing_);
|
||||
invalidate(invalidate_reason::layout);
|
||||
}
|
||||
invalidate(invalidate_reason::layout);
|
||||
}
|
||||
|
||||
void mtext_block::update_no_wrap_size() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user