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:
parent
01a5120cd1
commit
533158bb69
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue