mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Add white progress indicator dot during seeking
This commit is contained in:
parent
fe8432f128
commit
c9f2915ca0
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import Foundation
|
||||
|
||||
public let APP_GIT_BRANCH = "master"
|
||||
public let APP_GIT_COMMIT = "36fa752cc"
|
||||
public let APP_GIT_COMMIT = "fe8432f12"
|
||||
public let APP_GIT_TAG = "6.1.0-alpha"
|
||||
|
|
|
|||
|
|
@ -149,6 +149,12 @@ struct RecordingMediaPlayerFragment: View {
|
|||
.foregroundColor(Color.orangeMain500)
|
||||
.frame(width: (self.value / 100) * barWidth, height: isSeeking ? 10 : 5)
|
||||
.clipShape(RoundedRectangle(cornerRadius: radius))
|
||||
|
||||
Circle()
|
||||
.fill(Color.white)
|
||||
.frame(width: 14, height: 14)
|
||||
.shadow(radius: 2)
|
||||
.offset(x: (self.value / 100) * barWidth - 7)
|
||||
}
|
||||
.frame(width: barWidth, height: 20)
|
||||
.contentShape(Rectangle())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue