Commit da415dc4 authored by Camilo Higuita's avatar Camilo Higuita

quick round of papercut fixes for beta release

parent 16910845
......@@ -12,9 +12,11 @@ ToolButton
property color iconColor: foregroundColor
readonly property string defaultColor : foregroundColor
property bool anim : false
icon.name: isMobile ? "" : babeButton.iconName
icon.width: isMobile ? 0 : babeButton.iconSize
// icon.height: isMobile ? 0 : babeButton.iconSize
icon.height: isMobile ? 0 : babeButton.iconSize
icon.color: isMobile ? "transparent" : (iconColor || defaultColor)
onClicked: if(anim) animIcon.running = true
......
......@@ -198,7 +198,7 @@ BabeMenu
onTriggered:
{
trackRemoved(list.model.get(list.currentIndex).url)
listModel.remove(list.currentIndex)
listModel.remove(list.currentIndex)
close()
}
}
......@@ -212,28 +212,35 @@ BabeMenu
{
id: starsRow
width: parent.width
height: toolBarIconSize
RowLayout
{
anchors.fill: parent
width: parent.width
BabeButton
{
Layout.fillWidth: true
Layout.fillHeight: true
iconName: starIcon
iconColor: rate >= 1 ? starColor :starReg
onClicked: rateIt(1)
}
BabeButton
{
Layout.fillWidth: true
Layout.fillHeight: true
iconName: starIcon
iconColor: rate >= 2 ? starColor :starReg
onClicked: rateIt(2)
}
BabeButton
{
Layout.fillWidth: true
Layout.fillHeight: true
iconName: starIcon
iconColor: rate >= 3 ? starColor :starReg
......@@ -244,6 +251,7 @@ BabeMenu
BabeButton
{
Layout.fillWidth: true
Layout.fillHeight: true
iconName: starIcon
iconColor: rate >= 4 ? starColor :starReg
......@@ -254,6 +262,7 @@ BabeMenu
BabeButton
{
Layout.fillWidth: true
Layout.fillHeight: true
iconName: starIcon
iconColor: rate >= 5 ? starColor :starReg
......
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