zoom: Seperate animating/current focal_point

This commit is contained in:
Victoria Brekenfeld 2025-02-17 17:59:07 +01:00 committed by Victoria Brekenfeld
parent 726a53b6b9
commit 909ca8cf9d
3 changed files with 26 additions and 6 deletions

View file

@ -421,7 +421,7 @@ where
let (focal_point, zoom_scale) = zoom_state
.map(|state| {
(
state.focal_point(Some(&output)).to_local(&output),
state.animating_focal_point(Some(&output)).to_local(&output),
state.animating_level(),
)
})
@ -729,7 +729,7 @@ where
let (focal_point, zoom_scale) = zoom_level
.map(|state| {
(
state.focal_point(Some(&output)).to_local(&output),
state.animating_focal_point(Some(&output)).to_local(&output),
state.animating_level(),
)
})