mirror of https://github.com/procxx/kepka.git
Fix volume control disappearing in audio player.
This commit is contained in:
parent
b20c2b4774
commit
aebb40dc1e
|
@ -1756,7 +1756,9 @@ void MainWidget::createPlayer() {
|
|||
}
|
||||
if (!_player) {
|
||||
_player.create(this);
|
||||
_player->heightValue()
|
||||
rpl::merge(
|
||||
_player->heightValue() | rpl::map([] { return true; }),
|
||||
_player->shownValue())
|
||||
| rpl::start_with_next(
|
||||
[this] { playerHeightUpdated(); },
|
||||
lifetime());
|
||||
|
|
Loading…
Reference in New Issue