mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 19:13:38 +02:00
removing mousearea, fixing continue button
This commit is contained in:
parent
5e82bc78b7
commit
c8783776fe
1 changed files with 2 additions and 13 deletions
|
@ -21,7 +21,6 @@ Item {
|
|||
z: -2
|
||||
id: linkAccountBody
|
||||
clip: true
|
||||
focus: true
|
||||
height: root.height
|
||||
width: root.width
|
||||
property int textFieldHeight: 31
|
||||
|
@ -158,6 +157,7 @@ Item {
|
|||
topMargin: loginErrorMessage.height
|
||||
}
|
||||
placeholderText: "Username or Email"
|
||||
focus: true
|
||||
activeFocusOnPress: true
|
||||
Keys.onPressed: {
|
||||
switch (event.key) {
|
||||
|
@ -326,7 +326,7 @@ Item {
|
|||
height: d.minHeightButton
|
||||
color: hifi.buttons.none;
|
||||
anchors {
|
||||
top: cantAccessContainer.bottom
|
||||
top: cantAccessText.bottom
|
||||
topMargin: hifi.dimensions.contentSpacing.y
|
||||
left: emailField.left
|
||||
}
|
||||
|
@ -444,16 +444,6 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
print("clicked");
|
||||
if (!emailField.focus && !passwordField.focus) {
|
||||
print("forcing active focus");
|
||||
emailField.forceActiveFocus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
//but rise Tablet's one instead for Tablet interface
|
||||
|
@ -462,7 +452,6 @@ Item {
|
|||
root.text = "";
|
||||
d.resize();
|
||||
init();
|
||||
emailField.forceActiveFocus();
|
||||
}
|
||||
|
||||
Keys.onPressed: {
|
||||
|
|
Loading…
Reference in a new issue