@ -553,7 +553,10 @@ const App = memo(() => {
const increaseRotation = useCallback ( ( ) => {
const increaseRotation = useCallback ( ( ) => {
setRotation ( ( r ) => ( r + 90 ) % 450 ) ;
setRotation ( ( r ) => ( r + 90 ) % 450 ) ;
setHideCanvasPreview ( false ) ;
setHideCanvasPreview ( false ) ;
} , [ ] ) ;
/ / M a t r o s k a i s k n o w n n o t t o w o r k , s o w e w a r n u s e r . S e e h t t p s : / / g i t h u b . c o m / m i f i / l o s s l e s s - c u t / d i s c u s s i o n s / 6 6 1
const supportsRotation = ! [ 'matroska' , 'webm' ] . includes ( fileFormat ) ;
if ( ! supportsRotation && ! hideAllNotifications ) toast . fire ( { text : i18n . t ( 'Lossless rotation might not work with this file format. You may try changing to MP4' ) } ) ;
} , [ hideAllNotifications , fileFormat ] ) ;
const assureOutDirAccess = useCallback ( async ( outFilePath ) => {
const assureOutDirAccess = useCallback ( async ( outFilePath ) => {
/ / R e s e t i f d o e s n ' t e x i s t a n y m o r e
/ / R e s e t i f d o e s n ' t e x i s t a n y m o r e