mirror of https://github.com/KDE/kasts.git
Avoid overflow on slider bar on very long podcasts
This commit is contained in:
parent
bd46d33863
commit
080669c283
|
@ -219,9 +219,9 @@ Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
padding: 0
|
padding: 0
|
||||||
from: 0
|
from: 0
|
||||||
to: AudioManager.duration
|
to: AudioManager.duration / 1000
|
||||||
value: AudioManager.position
|
value: AudioManager.position / 1000
|
||||||
onMoved: AudioManager.seek(value)
|
onMoved: AudioManager.seek(value * 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
|
@ -241,9 +241,9 @@ Kirigami.Page {
|
||||||
Layout.rightMargin: Kirigami.Units.largeSpacing
|
Layout.rightMargin: Kirigami.Units.largeSpacing
|
||||||
padding: 0
|
padding: 0
|
||||||
from: 0
|
from: 0
|
||||||
to: AudioManager.duration
|
to: AudioManager.duration / 1000
|
||||||
value: AudioManager.position
|
value: AudioManager.position / 1000
|
||||||
onMoved: AudioManager.seek(value)
|
onMoved: AudioManager.seek(value * 1000)
|
||||||
}
|
}
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: controls
|
id: controls
|
||||||
|
|
Loading…
Reference in New Issue