Adapt play buttons to theme and remove accidental message bg

This commit is contained in:
Nicolas Werner 2020-01-06 18:24:50 +01:00
parent 51d7e64992
commit 01bd9f659d
2 changed files with 4 additions and 3 deletions

View File

@ -85,6 +85,7 @@ Item {
property Item section property Item section
width: chat.width width: chat.width
height: section ? section.height + timelinerow.height : timelinerow.height height: section ? section.height + timelinerow.height : timelinerow.height
color: "transparent"
TimelineRow { TimelineRow {
id: timelinerow id: timelinerow

View File

@ -89,7 +89,7 @@ Rectangle {
id: img id: img
anchors.centerIn: parent anchors.centerIn: parent
source: "qrc:/icons/icons/ui/arrow-pointing-down.png" source: "image://colorimage/:/icons/icons/ui/arrow-pointing-down.png?"+colors.dark
fillMode: Image.Pad fillMode: Image.Pad
} }
@ -132,11 +132,11 @@ Rectangle {
states: [ states: [
State { State {
name: "stopped" name: "stopped"
PropertyChanges { target: img; source: "qrc:/icons/icons/ui/play-sign.png" } PropertyChanges { target: img; source: "image://colorimage/:/icons/icons/ui/play-sign.png?"+colors.dark }
}, },
State { State {
name: "playing" name: "playing"
PropertyChanges { target: img; source: "qrc:/icons/icons/ui/pause-symbol.png" } PropertyChanges { target: img; source: "image://colorimage/:/icons/icons/ui/pause-symbol.png?"+colors.dark }
} }
] ]
} }