Compare commits

..

No commits in common. "8ab0cde2e99936f75f2d554589925d922bf34d09" and "0171c3609a898de7c1bd4c9be133792128880de5" have entirely different histories.

4 changed files with 12 additions and 20 deletions

View File

@ -15,9 +15,7 @@ Canvas {
function animateToNewData()
{
chartAnimationProgress = 0.1;
if (d.jsChart) {
d.jsChart.update();
}
d.jsChart?.update();
chartAnimator.restart();
}
QtObject{

View File

@ -41,15 +41,13 @@ ProgressBar{
height: parent.height
radius: d._radius
color: control.color
SequentialAnimation on x {
id: animator_x
PropertyAnimation on x {
id:animator_x
running: control.indeterminate && control.visible
from: -rect_progress.width
to:control.width+rect_progress.width
loops: Animation.Infinite
PropertyAnimation {
from: -rect_progress.width
to: control.width + rect_progress.width
duration: control.duration
}
duration: control.duration
}
}
}

View File

@ -14,9 +14,7 @@ Canvas {
function animateToNewData()
{
chartAnimationProgress = 0.1;
if (d.jsChart) {
d.jsChart.update();
}
d.jsChart?.update();
chartAnimator.restart();
}
QtObject{

View File

@ -42,15 +42,13 @@ ProgressBar{
height: parent.height
radius: d._radius
color: control.color
SequentialAnimation on x {
id: animator_x
PropertyAnimation on x {
id:animator_x
running: control.indeterminate && control.visible
from: -rect_progress.width
to:control.width+rect_progress.width
loops: Animation.Infinite
PropertyAnimation {
from: -rect_progress.width
to: control.width + rect_progress.width
duration: control.duration
}
duration: control.duration
}
}
}