Merge pull request #18789 from endragor/fix-oversampled-outline-update

Update oversampling of outlines after window size change
This commit is contained in:
Rémi Verschelde 2018-05-11 13:43:51 +02:00 committed by GitHub
commit 0f942764ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1080,6 +1080,11 @@ void DynamicFont::update_oversampling() {
if (E->self()->data_at_size.is_valid()) {
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()));
}
E = E->next();