1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 18:32:34 +01:00

improve wheel scroll

This commit is contained in:
Mikael Finstad 2020-02-19 13:16:49 +08:00
parent 9defcc9bfe
commit 2b256aa083

View File

@ -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(() => {