image: Also set zoom target when not animating
This currently only seems to affect HighRes scrolling where SVGs are not rendered for the zoom level. Closes #185
This commit is contained in:
parent
ae40ad4249
commit
2faef84321
1 changed files with 2 additions and 1 deletions
|
|
@ -1418,7 +1418,8 @@ impl LpImage {
|
|||
animation.set_value_to(zoom);
|
||||
animation.play();
|
||||
} else {
|
||||
self.set_zoom(zoom)
|
||||
self.set_zoom(zoom);
|
||||
self.set_zoom_target(zoom);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue