feat: async utilities

This commit is contained in:
2 * r + 2 * t 2026-03-20 01:19:28 +11:00
parent 473e4456b0
commit 23834525ed
5 changed files with 5 additions and 0 deletions

View file

@ -15,6 +15,7 @@ Loader {
required property var props
asynchronous: true
anchors.fill: parent
opacity: root.props.recordingConfirmDelete ? 1 : 0

View file

@ -79,6 +79,7 @@ Item {
Loader {
id: content
asynchronous: true
anchors.top: parent.top
anchors.left: parent.left
anchors.margins: Appearance.padding.large

View file

@ -70,6 +70,7 @@ StyledRect {
Loader {
id: activeChip
asynchronous: true
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.topMargin: Appearance.spacing.larger

View file

@ -111,6 +111,7 @@ StyledRect {
property bool running: Recorder.running
asynchronous: true
Layout.fillWidth: true
Layout.preferredHeight: implicitHeight
sourceComponent: running ? recordingControls : recordingList

View file

@ -163,6 +163,7 @@ ColumnLayout {
}
Loader {
asynchronous: true
anchors.centerIn: parent
opacity: list.count === 0 ? 1 : 0