Normalize text inputs on submit
This commit is contained in:
parent
9731739e5e
commit
d302351aec
1 changed files with 2 additions and 2 deletions
|
|
@ -476,7 +476,7 @@ class CutVideoBottomSheetDialog(private val _item: DownloadItem? = null, private
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
setStartTimestamp(timestamp, updateTextInput = false)
|
setStartTimestamp(timestamp, updateTextInput = true) // also update text input to normalize
|
||||||
player.seekTo(timestamp)
|
player.seekTo(timestamp)
|
||||||
player.play()
|
player.play()
|
||||||
}
|
}
|
||||||
|
|
@ -488,7 +488,7 @@ class CutVideoBottomSheetDialog(private val _item: DownloadItem? = null, private
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
setEndTimestamp(timestamp, updateTextInput = false)
|
setEndTimestamp(timestamp, updateTextInput = true) // also update text input to normalize
|
||||||
player.seekTo(timestamp - 1500)
|
player.seekTo(timestamp - 1500)
|
||||||
player.play()
|
player.play()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue