fix: increase cache buffers to reduce visual glitches

Also set initial notif state and notif content non async
This commit is contained in:
2 * r + 2 * t 2026-04-09 19:11:46 +10:00
parent 1223b5338b
commit 82f177fa3f
3 changed files with 4 additions and 4 deletions

View file

@ -26,9 +26,10 @@ StyledRect {
return expanded ? c : Qt.alpha(c, 0);
}
state: expanded ? "expanded" : ""
states: State {
name: "expanded"
when: root.expanded
PropertyChanges {
summary.anchors.margins: Appearance.padding.normal
@ -156,7 +157,6 @@ StyledRect {
component WrappedLoader: Loader {
required property bool shouldBeActive
asynchronous: true
opacity: shouldBeActive ? 1 : 0
active: opacity > 0

View file

@ -19,7 +19,7 @@ LazyListView {
implicitHeight: contentHeight
spacing: Appearance.spacing.small
cacheBuffer: 200
cacheBuffer: 400
asynchronous: true
useCustomViewport: true

View file

@ -25,7 +25,7 @@ LazyListView {
spacing: Math.round(Appearance.spacing.small / 2)
asynchronous: true
cacheBuffer: 200
cacheBuffer: 800
removeDuration: Appearance.anim.durations.normal
useCustomViewport: true