Better segment clicking (#10321)

* better segment clicking on motion segments

* move handlebar on click when handlebar is showing

* only scroll handlebar if needed
This commit is contained in:
Josh Hawkins
2024-03-07 22:02:29 -06:00
committed by GitHub
parent 507c6afa2c
commit dfab850b61
6 changed files with 34 additions and 18 deletions

View File

@@ -130,6 +130,7 @@ function useDraggableHandler({
scrollIntoView(thumb, {
block: "center",
behavior: "smooth",
scrollMode: "if-needed",
});
}
}