Fix main pane list position when kb-scrolling top

This commit is contained in:
miruka 2020-03-07 12:37:39 -04:00
parent 5709b5b756
commit 617e68cc71

View File

@ -41,11 +41,8 @@ HListView {
Binding {
target: mainPaneList
property: "contentY"
value: Math.max(
0,
highlightRectangle.y + highlightRectangle.height / 2 -
mainPaneList.height / 2,
)
value: highlightRectangle.y + highlightRectangle.height / 2 -
mainPaneList.height / 2
delayed: true
when: yAnimation.running
}