core: Fix typo
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/459>
This commit is contained in:
parent
40e60868c8
commit
ef4b65efbb
1 changed files with 6 additions and 6 deletions
|
|
@ -65,10 +65,10 @@ impl WidgetImpl for imp::LpImage {
|
||||||
|
|
||||||
let applicable_zoom = self.applicable_zoom();
|
let applicable_zoom = self.applicable_zoom();
|
||||||
|
|
||||||
let nth_snaphot = self.nth_snapshot.get() + 1;
|
let nth_snapshot = self.nth_snapshot.get() + 1;
|
||||||
if nth_snaphot < 3 {
|
if nth_snapshot < 3 {
|
||||||
self.nth_snapshot.set(nth_snaphot);
|
self.nth_snapshot.set(nth_snapshot);
|
||||||
log::trace!("Creating snapshot #{nth_snaphot}");
|
log::trace!("Creating snapshot #{nth_snapshot}");
|
||||||
}
|
}
|
||||||
|
|
||||||
let scaling_filter = if obj.metadata().is_svg() {
|
let scaling_filter = if obj.metadata().is_svg() {
|
||||||
|
|
@ -140,8 +140,8 @@ impl WidgetImpl for imp::LpImage {
|
||||||
|
|
||||||
snapshot.restore();
|
snapshot.restore();
|
||||||
|
|
||||||
if nth_snaphot < 3 {
|
if nth_snapshot < 3 {
|
||||||
log::trace!("Snapshot #{nth_snaphot} created");
|
log::trace!("Snapshot #{nth_snapshot} created");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue