Update oversampling of outlines after window size change

Fixes #18774.
This commit is contained in:
Ruslan Mustakov 2018-05-11 13:59:56 +07:00
parent 74796d9b6c
commit f34ea810fe

View File

@ -1080,6 +1080,11 @@ void DynamicFont::update_oversampling() {
if (E->self()->data_at_size.is_valid()) { if (E->self()->data_at_size.is_valid()) {
E->self()->data_at_size->update_oversampling(); E->self()->data_at_size->update_oversampling();
if (E->self()->outline_data_at_size.is_valid()) {
E->self()->outline_data_at_size->update_oversampling();
}
changed.push_back(Ref<DynamicFont>(E->self())); changed.push_back(Ref<DynamicFont>(E->self()));
} }
E = E->next(); E = E->next();