Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-10-22 16:12:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5d549337402fb61065474ab2a4864378a6ae0b0f
5d549337
1 parent
49c94377
feat:优化直播界面转屏逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
View file @
5d54933
...
...
@@ -345,7 +345,7 @@ export struct PlayUIComponent {
.width(24)
.height(24)
.onClick(() => {
clearTimeout(this.time)
WindowModel.shared.setSpecificSystemBarEnabled(false)
this.displayDirection =
...
...
@@ -354,7 +354,9 @@ export struct PlayUIComponent {
WindowModel.shared.setPreferredOrientation(this.displayDirection == DisplayDirection.VERTICAL ?
window.Orientation.PORTRAIT :
window.Orientation.LANDSCAPE)
window.Orientation.LANDSCAPE).then(()=>{
this.onChangeMenuVisible()
})
})
...
...
@@ -452,10 +454,13 @@ export struct PlayUIComponent {
}
quitFullScreen() {
clearTimeout(this.time)
this.displayDirection = DisplayDirection.VERTICAL
WindowModel.shared.setPreferredOrientation(this.displayDirection == DisplayDirection.VERTICAL ?
window.Orientation.PORTRAIT :
window.Orientation.LANDSCAPE)
window.Orientation.LANDSCAPE).then(()=>{
this.onChangeMenuVisible()
})
WindowModel.shared.setSpecificSystemBarEnabled(true)
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment