diff --git a/src/FlightDisplay/FlightDisplayView.qml b/src/FlightDisplay/FlightDisplayView.qml index 25e541d96023143fe6485af5d22b888323275d36..2f7e48ede82fffa5b766285ab5da96c6236ce6b9 100644 --- a/src/FlightDisplay/FlightDisplayView.qml +++ b/src/FlightDisplay/FlightDisplayView.qml @@ -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 } diff --git a/src/QmlControls/QGCPipable.qml b/src/QmlControls/QGCPipable.qml index a955b2438aa70f12ddb8ffd5819f117bcabc6907..bd4f9358d5d1efacf4e6730a4af6f9a7940c511d 100644 --- a/src/QmlControls/QGCPipable.qml +++ b/src/QmlControls/QGCPipable.qml @@ -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