zoom: Seperate animating/current focal_point
This commit is contained in:
parent
726a53b6b9
commit
909ca8cf9d
3 changed files with 26 additions and 6 deletions
|
|
@ -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(),
|
||||
)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue