reduce blur for task numbers

--fix some type conversions for CircleText
pull/1/head
Michail Vourlakos
parent 7627d30a1c
commit d75dfa1a64

@ -30,11 +30,10 @@ Rectangle {
property double previousProportion: 0
property string valueLabel
property string numberValue
property int numberValue
property bool fullCircle
property bool showNumber
property bool showLabel
property bool fullCircle: true
property bool showNumber: true
property int radiusPerCentage: 100

@ -488,19 +488,6 @@ Item{
}
sourceComponent: Item{
CircleText {
id: taskNumber
anchors.centerIn: parent
opacity: taskNumberLoader.opacityN && !root.enableShadows ? 1 : 0
width: 0.5 * parent.width
height: width
numberValue: taskNumberLoader.fixedIndex
showNumber: true
proportion: 0
radiusPerCentage: 50
}
Loader{
anchors.fill: taskNumber
active: root.enableShadows
@ -513,6 +500,19 @@ Item{
verticalOffset: 2
}
}
CircleText {
id: taskNumber
anchors.centerIn: parent
//opacity: taskNumberLoader.opacityN && !root.enableShadows ? 1 : 0
width: 0.5 * parent.width
height: width
numberValue: taskNumberLoader.fixedIndex
showNumber: true
proportion: 0
radiusPerCentage: 50
}
}
}
//END of task number

Loading…
Cancel
Save