mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 10:37:56 +02:00
Merge pull request #11310 from ElderOrb/case6718
6718 PR11082: Help text cannot be dismissed by clicking on the text i…
This commit is contained in:
commit
11df5a447e
1 changed files with 2 additions and 39 deletions
|
@ -137,48 +137,11 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Left gray MouseArea
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.left: parent.left;
|
anchors.fill: parent
|
||||||
anchors.right: textContainer.left;
|
|
||||||
anchors.top: textContainer.top;
|
|
||||||
anchors.bottom: textContainer.bottom;
|
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
onClicked: {
|
onClicked: {
|
||||||
letterbox.visible = false
|
letterbox.visible = false;
|
||||||
}
|
|
||||||
}
|
|
||||||
// Right gray MouseArea
|
|
||||||
MouseArea {
|
|
||||||
anchors.left: textContainer.left;
|
|
||||||
anchors.right: parent.left;
|
|
||||||
anchors.top: textContainer.top;
|
|
||||||
anchors.bottom: textContainer.bottom;
|
|
||||||
acceptedButtons: Qt.LeftButton
|
|
||||||
onClicked: {
|
|
||||||
letterbox.visible = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Top gray MouseArea
|
|
||||||
MouseArea {
|
|
||||||
anchors.left: parent.left;
|
|
||||||
anchors.right: parent.right;
|
|
||||||
anchors.top: parent.top;
|
|
||||||
anchors.bottom: textContainer.top;
|
|
||||||
acceptedButtons: Qt.LeftButton
|
|
||||||
onClicked: {
|
|
||||||
letterbox.visible = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Bottom gray MouseArea
|
|
||||||
MouseArea {
|
|
||||||
anchors.left: parent.left;
|
|
||||||
anchors.right: parent.right;
|
|
||||||
anchors.top: textContainer.bottom;
|
|
||||||
anchors.bottom: parent.bottom;
|
|
||||||
acceptedButtons: Qt.LeftButton
|
|
||||||
onClicked: {
|
|
||||||
letterbox.visible = false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue