fix: increase cache buffers to reduce visual glitches
Also set initial notif state and notif content non async
This commit is contained in:
parent
1223b5338b
commit
82f177fa3f
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ LazyListView {
|
|||
implicitHeight: contentHeight
|
||||
|
||||
spacing: Appearance.spacing.small
|
||||
cacheBuffer: 200
|
||||
cacheBuffer: 400
|
||||
asynchronous: true
|
||||
|
||||
useCustomViewport: true
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue