mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
Add playbackBar -> playbackPage transition
This commit is contained in:
parent
b699f6e74d
commit
306693fa04
4 changed files with 385 additions and 33 deletions
|
@ -48,7 +48,13 @@ ApplicationWindow {
|
|||
Connections {
|
||||
target: pageStack
|
||||
onCurrentPageChanged: {
|
||||
_hidePlaybackBar = "__videoPlaybackPage" in pageStack.currentPage
|
||||
/*_hidePlaybackBar = "__hidePlaybackBar" in pageStack.currentPage
|
||||
if (_hidePlaybackBar) {
|
||||
playbackBar.state = "hidden"
|
||||
} else {
|
||||
//playbackBar.state = ""
|
||||
//appWindow.bottomMargin = playbackBar.height
|
||||
}*/
|
||||
console.log("Current page changed: " + _hidePlaybackBar)
|
||||
}
|
||||
}
|
||||
|
@ -133,7 +139,8 @@ ApplicationWindow {
|
|||
|
||||
PlaybackBar {
|
||||
id: playbackBar
|
||||
open: !_hidePlaybackBar//_mediaPlayer.playbackState != MediaPlayer.StoppedState
|
||||
//open: !_hidePlaybackBar//_mediaPlayer.playbackState != MediaPlayer.StoppedState
|
||||
manager: _playbackManager
|
||||
//state: "hidden"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue