mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 10:22:31 +01:00
improve wheel scroll
This commit is contained in:
parent
9defcc9bfe
commit
2b256aa083
@ -501,7 +501,7 @@ const App = memo(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onWheel(e) {
|
function onWheel(e) {
|
||||||
if (!zoomed) seekRel(e.deltaX / 10);
|
if (!zoomed) seekRel((e.deltaX + e.deltaY) / 15);
|
||||||
}
|
}
|
||||||
|
|
||||||
const playCommand = useCallback(() => {
|
const playCommand = useCallback(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user