mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-29 20:48:40 +00:00
opt onOrientationChanged
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -525,8 +525,9 @@ class PlPlayerController with BlockConfigMixin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _onOrientationChanged(OrientationParams param) {
|
void _onOrientationChanged(OrientationParams param) {
|
||||||
|
_orientation = param.orientation;
|
||||||
if (!visible) return;
|
if (!visible) return;
|
||||||
final orientation = _orientation = param.orientation;
|
final orientation = param.orientation;
|
||||||
final isFullScreen = this.isFullScreen.value;
|
final isFullScreen = this.isFullScreen.value;
|
||||||
if (checkIsAutoRotate &&
|
if (checkIsAutoRotate &&
|
||||||
param.isAutoRotate != true &&
|
param.isAutoRotate != true &&
|
||||||
|
|||||||
Reference in New Issue
Block a user