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:
parent
65e7789863
commit
8b2b12a206
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue