Change zoom reset animation duration from 500ms to 1000ms in ZoomControl
This commit is contained in:
parent
59ac94c61d
commit
55fc1914ff
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ const ZoomControl = () => {
|
|||
// Animate to center with calculated ratio
|
||||
sigma.getCamera().animate(
|
||||
{ x: 0.5, y: 0.5, ratio },
|
||||
{ duration: 500 }
|
||||
{ duration: 1000 }
|
||||
)
|
||||
} catch (error) {
|
||||
console.error('Error resetting zoom:', error)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue