image: Request tiles on size_allocate

Fixes tiles for SVG might be missing when enlarging window.

Closes #104

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/155>
This commit is contained in:
Sophie Herold 2023-03-30 01:27:08 +02:00
parent 01a5120cd1
commit 533158bb69

View file

@ -558,6 +558,9 @@ mod imp {
self.widget_dimensions.set((width, height));
obj.configure_adjustments();
// Get potentially missing tiles for enlarged viewing area
obj.request_tiles();
}
// called when the widget content should be re-rendered