mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-22 10:19:05 +00:00
Pass --lock-video-orientation argument in degrees
For consistency with the new --display-orientation option, express the --lock-video-orientation in degrees clockwise: * --lock-video-orientation=0 -> --lock-video-orientation=0 * --lock-video-orientation=3 -> --lock-video-orientation=90 * --lock-video-orientation=2 -> --lock-video-orientation=180 * --lock-video-orientation=1 -> --lock-video-orientation=270 PR #4441 <https://github.com/Genymobile/scrcpy/pull/4441>
This commit is contained in:
parent
bb88b60227
commit
2f92686930
5 changed files with 54 additions and 17 deletions
|
@ -118,7 +118,7 @@ _scrcpy() {
|
|||
return
|
||||
;;
|
||||
--lock-video-orientation)
|
||||
COMPREPLY=($(compgen -W 'unlocked initial 0 1 2 3' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W 'unlocked initial 0 90 180 270' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--pause-on-exit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue