Fix a focus bug (#92)
* Fix a focus bug * Lint fix --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
bdaaf17785
commit
05f2481f87
2 files changed
+4
No files matched your search
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- A crash where the saved auth token is not in a valid format
|
||||
- Video duration formatting for long videos
|
||||
- A bug where app would lose focus when playing the next video (0.10.0 regression)
|
||||
|
||||
## [0.10.0] - 2023-06-25
|
||||
|
||||
|
||||
@@ -26,9 +26,12 @@ function PlayVideo(videoId as string, args = invalid as object)
|
||||
height = videoContainer.videoPlayer.height
|
||||
translation = videoContainer.videoPlayer.translation
|
||||
end if
|
||||
previousSender = videoContainer.sender
|
||||
CloseVideo(false)
|
||||
if sender <> invalid
|
||||
videoContainer.sender = sender
|
||||
else
|
||||
videoContainer.sender = previousSender
|
||||
end if
|
||||
videoContainer.videoPlayer = videoContainer.createChild("VideoPlayer")
|
||||
videoContainer.insertChild(videoContainer.videoPlayer, 0)
|
||||
|
||||
Reference in new issue
Block a user