mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
feat: add autorotate for landscape (#1265)
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com> Co-authored-by: Lance Chant <13349722+lancechant@users.noreply.github.com> Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com>
This commit is contained in:
@@ -21,6 +21,8 @@ const orientationToOrientationLock = (
|
||||
return OrientationLock.LANDSCAPE_RIGHT;
|
||||
case Orientation.PORTRAIT_UP:
|
||||
return OrientationLock.PORTRAIT_UP;
|
||||
case Orientation.UNKNOWN:
|
||||
return OrientationLock.LANDSCAPE;
|
||||
default:
|
||||
return OrientationLock.PORTRAIT_UP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user