Fix main pane list position when kb-scrolling top
This commit is contained in:
parent
5709b5b756
commit
617e68cc71
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user