Commit c8a603cf authored by Don Gagne's avatar Don Gagne

Merge pull request #1589 from DonLakeFlyer/AnimationFix

Animation fix
parents 35da67de a6857a46
......@@ -186,7 +186,7 @@ QGCView {
Component {
id: compass0ComponentLabel
QGCLabel { text: "Compass Orientation" }
QGCLabel { text: "External Compass Orientation" }
}
Component {
id: compass0ComponentCombo
......@@ -470,7 +470,7 @@ QGCView {
Column {
x: parent.width - rotationColumnWidth
QGCLabel { text: "Autpilot Orientation" }
QGCLabel { text: "Autopilot Orientation" }
FactComboBox {
id: boardRotationCombo
......@@ -483,7 +483,7 @@ QGCView {
Component {
id: compass0ComponentLabel2
QGCLabel { text: "Compass Orientation" }
QGCLabel { text: "External Compass Orientation" }
}
Component {
id: compass0ComponentCombo2
......
......@@ -106,7 +106,15 @@ FactPanel {
}
}
function __stopAllAnimations() {
if (__animateHideDialog.running) {
__animateHideDialog.stop()
}
}
function showDialog(component, title, charWidth, buttons) {
__stopAllAnimations()
__dialogCharWidth = charWidth
__dialogTitle = title
......@@ -120,6 +128,8 @@ FactPanel {
}
function showMessage(title, message, buttons) {
__stopAllAnimations()
__dialogCharWidth = 50
__dialogTitle = title
__messageDialogText = message
......
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