Fix main pane list position when kb-scrolling top
This commit is contained in:
parent
5709b5b756
commit
617e68cc71
|
@ -41,11 +41,8 @@ HListView {
|
||||||
Binding {
|
Binding {
|
||||||
target: mainPaneList
|
target: mainPaneList
|
||||||
property: "contentY"
|
property: "contentY"
|
||||||
value: Math.max(
|
value: highlightRectangle.y + highlightRectangle.height / 2 -
|
||||||
0,
|
mainPaneList.height / 2
|
||||||
highlightRectangle.y + highlightRectangle.height / 2 -
|
|
||||||
mainPaneList.height / 2,
|
|
||||||
)
|
|
||||||
delayed: true
|
delayed: true
|
||||||
when: yAnimation.running
|
when: yAnimation.running
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user