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);
|
return expanded ? c : Qt.alpha(c, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
state: expanded ? "expanded" : ""
|
||||||
|
|
||||||
states: State {
|
states: State {
|
||||||
name: "expanded"
|
name: "expanded"
|
||||||
when: root.expanded
|
|
||||||
|
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
summary.anchors.margins: Appearance.padding.normal
|
summary.anchors.margins: Appearance.padding.normal
|
||||||
|
|
@ -156,7 +157,6 @@ StyledRect {
|
||||||
component WrappedLoader: Loader {
|
component WrappedLoader: Loader {
|
||||||
required property bool shouldBeActive
|
required property bool shouldBeActive
|
||||||
|
|
||||||
asynchronous: true
|
|
||||||
opacity: shouldBeActive ? 1 : 0
|
opacity: shouldBeActive ? 1 : 0
|
||||||
active: opacity > 0
|
active: opacity > 0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ LazyListView {
|
||||||
implicitHeight: contentHeight
|
implicitHeight: contentHeight
|
||||||
|
|
||||||
spacing: Appearance.spacing.small
|
spacing: Appearance.spacing.small
|
||||||
cacheBuffer: 200
|
cacheBuffer: 400
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
|
|
||||||
useCustomViewport: true
|
useCustomViewport: true
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ LazyListView {
|
||||||
spacing: Math.round(Appearance.spacing.small / 2)
|
spacing: Math.round(Appearance.spacing.small / 2)
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
|
|
||||||
cacheBuffer: 200
|
cacheBuffer: 800
|
||||||
removeDuration: Appearance.anim.durations.normal
|
removeDuration: Appearance.anim.durations.normal
|
||||||
|
|
||||||
useCustomViewport: true
|
useCustomViewport: true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue