mirror of https://code.videolan.org/videolan/vlc
qml: do not show mini player when ui is scaled
This commit is contained in:
parent
3e45f73735
commit
9f9339427b
|
@ -51,8 +51,10 @@ ControlBar {
|
|||
|
||||
identifier: PlayerControlbarModel.Miniplayer
|
||||
|
||||
Component.onCompleted: {
|
||||
// Enable the behavior only when everything is resolved:
|
||||
onImplicitHeightChanged: {
|
||||
// Animation should not be based on the implicit height change
|
||||
// but rather the visibility state:
|
||||
behavior.enabled = false
|
||||
Qt.callLater(() => { behavior.enabled = true })
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue