Commit 23fa1d6b authored by Nate Graham's avatar Nate Graham

Simplify visibility check for playlist item's playback indicator

parent bde3a48f
......@@ -163,7 +163,7 @@ FocusScope {
anchors.centerIn: parent
opacity: (isPlaying === MediaPlayList.IsPlaying || isPlaying === MediaPlayList.IsPaused ? 1.0 : 0.0)
visible: isPlaying === MediaPlayList.IsPlaying || isPlaying === MediaPlayList.IsPaused
source: (isPlaying === MediaPlayList.IsPlaying ?
Qt.resolvedUrl(elisaTheme.playingIndicatorIcon) : Qt.resolvedUrl(elisaTheme.pausedIndicatorIcon))
......@@ -175,7 +175,6 @@ FocusScope {
sourceSize.height: elisaTheme.smallControlButtonSize
fillMode: Image.PreserveAspectFit
mirror: LayoutMirroring.enabled
visible: opacity > 0.0
layer.enabled: simpleMode
layer.effect: ColorOverlay {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment