Compare commits

..

1 Commits

Author SHA1 Message Date
ToMoree aaad25c9a8
Merge 0b371ecd3f into 0171c3609a 2024-11-22 08:33:04 +00:00
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
}
}
}