The swiss army knife of lossless video/audio editing
Implement rotation hotkey #254
Mikael Finstad60d7003b67fc
diff --git a/src/App.jsx b/src/App.jsxindex 37181af3..5b6cd89f 100644--- a/src/App.jsx+++ b/src/App.jsx@@ -1328,6 +1328,7 @@ const App = memo(() => {hotkeys('backspace', removeCutSegment);hotkeys('d', deleteSource);hotkeys('b', splitCurrentSegment);+ hotkeys('r', increaseRotation);return () => {hotkeys.unbind('*', onKeyPress);@@ -1354,11 +1355,13 @@ const App = memo(() => {hotkeys.unbind('backspace', removeCutSegment);hotkeys.unbind('d', deleteSource);hotkeys.unbind('b', splitCurrentSegment);+ hotkeys.unbind('r', increaseRotation);};}, [addCutSegment, capture, changePlaybackRate, togglePlay, removeCutSegment,setCutEnd, setCutStart, seekRel, seekRelPercent, shortStep, deleteSource, jumpSeg,seekClosestKeyframe, zoomRel, toggleComfortZoom, splitCurrentSegment, exportConfirmVisible,+ increaseRotation,]);useEffect(() => {diff --git a/src/HelpSheet.jsx b/src/HelpSheet.jsxindex cf4e6c61..22451311 100644--- a/src/HelpSheet.jsx+++ b/src/HelpSheet.jsx@@ -76,6 +76,9 @@ const HelpSheet = memo(({ visible, onTogglePress, ffmpegCommandLog, currentCutSe<div><kbd>CTRL</kbd> <i>+ {t('Mouse scroll/wheel up/down')}</i> - {t('Zoom in/out timeline')}</div><div><i>{t('Mouse scroll/wheel left/right')}</i> - {t('Pan timeline')}</div>+ <h2>{t('Other operations')}</h2>+ <div><kbd>R</kbd> {t('Change rotation')}</div>+<h2>{t('Output actions')}</h2><div><kbd>E</kbd> {t('Export segment(s)')}</div><div><kbd>C</kbd> {t('Capture snapshot')}</div>