Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f565f290
Commit
f565f290
authored
Jun 17, 2016
by
Don Gagne
Committed by
GitHub
Jun 17, 2016
Browse files
Merge pull request #3585 from DonLakeFlyer/FlashingYield
Remove animation to save perf
parents
fdb13156
fb4e7b39
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/toolbar/MainToolBarIndicators.qml
View file @
f565f290
...
...
@@ -102,19 +102,6 @@ Row {
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
SequentialAnimation
{
id
:
loopAnimation
loops
:
Animation
.
Infinite
NumberAnimation
{
target
:
criticalMessage
;
property
:
"
opacity
"
;
duration
:
1000
;
from
:
0.25
;
to
:
1
}
NumberAnimation
{
target
:
criticalMessage
;
property
:
"
opacity
"
;
duration
:
1000
;
from
:
1
;
to
:
0.25
}
}
onVisibleChanged
:
{
if
(
messages
.
visible
)
{
loopAnimation
.
start
()
}
else
{
loopAnimation
.
stop
()
}
}
}
Item
{
anchors.fill
:
parent
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment