image: Always request tiles in set_zoom_target

This makes zoom for SVGs work again. Not entirely clear
why this is needed but a safe fix for now.

Closes #240

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/301>
This commit is contained in:
Sophie Herold 2023-09-27 17:49:20 +02:00 • committed by Marge Bot
parent 65e7789863
commit 8b2b12a206

View file

@ -1254,10 +1254,6 @@ impl LpImage {
}
fn set_zoom_target(&self, zoom_target: f64) {
if self.imp().zoom_target.get() == zoom_target {
return;
}
log::debug!("Setting zoom target {zoom_target}");
self.imp().zoom_target.set(zoom_target);