mirror of
https://github.com/KDE/kasts.git
synced 2025-02-05 11:48:27 +01:00
Fix highlighting of the playbackRate corresponding to the current rate.
This commit is contained in:
parent
77715f94b9
commit
74879a0a58
@ -71,6 +71,7 @@ Loader {
|
||||
clip: true
|
||||
delegate: Kirigami.SwipeListItem {
|
||||
id: swipeDelegate
|
||||
highlighted: value == AudioManager.playbackRate
|
||||
Controls.Label {
|
||||
text: name
|
||||
}
|
||||
@ -120,9 +121,8 @@ Loader {
|
||||
Layout.fillHeight: true
|
||||
clip: true
|
||||
delegate: Kirigami.BasicListItem {
|
||||
contentItem: Controls.Label {
|
||||
text: model.name
|
||||
}
|
||||
highlighted: value == AudioManager.playbackRate
|
||||
label: model.name
|
||||
onClicked: {
|
||||
AudioManager.playbackRate = value;
|
||||
close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user