image/rendering: Do not config adj in snapshot

This caused warnings and scrollbars to disappear under certain
conditions.
This commit is contained in:
Sophie Herold 2023-12-05 21:33:19 +01:00
parent d69d0d5e47
commit 9c8d3dc63f
4 changed files with 8 additions and 4 deletions

View file

@ -63,9 +63,6 @@ impl WidgetImpl for imp::LpImage {
let display_width = obj.image_displayed_width();
let display_height = obj.image_displayed_height();
// make sure the scrollbars are correct
obj.configure_adjustments();
let applicable_zoom = obj.applicable_zoom();
let scaling_filter = if obj.metadata().format().map_or(false, |x| x.is_svg()) {