Skip to content

Commit

Permalink
Disable wasm SolarDailyHistoryDialog opacity animations
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMcInnes committed Jan 23, 2024
1 parent a7c2795 commit a632788
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/dialogs/SolarDailyHistoryDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ T.Dialog {
}
}
exit: Transition {
NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: Theme.animation_page_fade_duration }
NumberAnimation {
loops: Qt.platform.os == "wasm" ? 0 : 1 // workaround wasm crash, see https://bugreports.qt.io/browse/QTBUG-121382
property: "opacity"; from: 1.0; to: 0.0; duration: Theme.animation_page_fade_duration }
}

background: Rectangle {
Expand Down

0 comments on commit a632788

Please sign in to comment.