Skip to content

Commit

Permalink
Merge pull request #130 from saeugetier/bugfix/128-recover-snapshot-m…
Browse files Browse the repository at this point in the history
…enu-after-error

Bugfix/128 recover snapshot menu after error
  • Loading branch information
saeugetier authored May 19, 2024
2 parents cad298e + 6c7b163 commit b41a0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qml/SnapshotMenu.qml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ SnapshotMenuForm {
cameraRenderer.onSavedPhoto:
{
captured(filename)
shutterButton.reset()
}

cameraRenderer.onFailed:
Expand All @@ -94,8 +93,9 @@ SnapshotMenuForm {
loops: 1
PropertyAnimation { target: failureText; property: "visible"; to: true}
PropertyAnimation { target: failureText; property: "opacity"; to: 1.0}
NumberAnimation { target: failureText; property: "opacity"; to: 0.0; duration: 1000}
NumberAnimation { target: failureText; property: "opacity"; to: 0.0; duration: 2000}
PropertyAnimation { target: failureText; property: "visible"; to: false}
PropertyAnimation { target: form; property: "state"; to: "activated"}
}

Behavior on snapshotSettings.opacity {
Expand Down

0 comments on commit b41a0ee

Please sign in to comment.