Commit 693adfc6 authored by Jacob Walser's avatar Jacob Walser

Use grow and shrink names instead of bigger and smaller

parent 0337a5a3
......@@ -311,7 +311,7 @@ QGCView {
onHideIt: {
setPipVisibility(!state)
}
onBigger: {
onGrow: {
if (_pipSize >= 825) {
return
}
......@@ -320,7 +320,7 @@ QGCView {
_flightVideoPipControl.width = _pipSize
_flightVideoPipControl.height= _pipSize * (9/16)
}
onSmaller: {
onShrink: {
if (_pipSize <= 225) {
return
}
......
......@@ -24,8 +24,8 @@ Item {
signal activated()
signal hideIt(bool state)
signal bigger()
signal smaller()
signal grow()
signal shrink()
MouseArea {
anchors.fill: parent
......@@ -36,20 +36,20 @@ Item {
}
QGCButton {
id: largerButton
id: growButton
visible: !isHidden
anchors.left: parent.left
anchors.bottom: smallerButton.top
anchors.bottom: shrinkButton.top
height: 20
width: height
anchors.margins: 5
text: "+"
opacity: 0.5
onClicked: pip.bigger()
onClicked: pip.grow()
}
QGCButton {
id: smallerButton
id: shrinkButton
visible: !isHidden
anchors.left: parent.left
anchors.bottom: closePIP.top
......@@ -58,7 +58,7 @@ Item {
anchors.margins: 5
text: "-"
opacity: 0.5
onClicked: pip.smaller()
onClicked: pip.shrink()
}
//-- PIP Corner Indicator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment