Skip to content

Commit

Permalink
Virtual keyboard references LoginFormStack
Browse files Browse the repository at this point in the history
  • Loading branch information
Marian-hub committed Aug 26, 2018
1 parent b5d6e6e commit 7b9276b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Rectangle {

showUserList: {
if ( !userListModel.hasOwnProperty("count") || !userListModel.hasOwnProperty("disableAvatarsThreshold") )
return (userList.y + mainStack.y) > 0
return (userList.y + loginFormStack.y) > 0
if ( userListModel.count == 0 )
return false
return userListModel.count <= userListModel.disableAvatarsThreshold && (userList.y + loginFormStack.y) > 0
Expand Down Expand Up @@ -197,7 +197,7 @@ Rectangle {
State {
name: "visible"
PropertyChanges {
target: mainStack
target: loginFormStack
y: Math.min(0, root.height - inputPanel.height - userListComponent.visibleBoundary)
}
PropertyChanges {
Expand All @@ -209,7 +209,7 @@ Rectangle {
State {
name: "hidden"
PropertyChanges {
target: mainStack
target: loginFormStack
y: 0
}
PropertyChanges {
Expand All @@ -232,7 +232,7 @@ Rectangle {
}
ParallelAnimation {
NumberAnimation {
target: mainStack
target: loginFormStack
property: "y"
duration: units.longDuration
easing.type: Easing.InOutQuad
Expand All @@ -257,7 +257,7 @@ Rectangle {
SequentialAnimation {
ParallelAnimation {
NumberAnimation {
target: mainStack
target: loginFormStack
property: "y"
duration: units.longDuration
easing.type: Easing.InOutQuad
Expand Down

0 comments on commit 7b9276b

Please sign in to comment.