Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
71a57cb2
Unverified
Commit
71a57cb2
authored
Dec 16, 2017
by
Don Gagne
Committed by
GitHub
Dec 16, 2017
Browse files
Merge pull request #5879 from patrickelectric/video_update
QGCPipable: Only show popup icon in video
parents
5c23f138
20ef634c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/FlightDisplay/FlightDisplayView.qml
View file @
71a57cb2
...
...
@@ -344,6 +344,7 @@ QGCView {
visible
:
QGroundControl
.
videoManager
.
hasVideo
&&
!
QGroundControl
.
videoManager
.
fullScreen
isHidden
:
!
_isPipVisible
isDark
:
isBackgroundDark
enablePopup
:
_mainIsMap
onActivated
:
{
_mainIsMap
=
!
_mainIsMap
setStates
()
...
...
src/QmlControls/QGCPipable.qml
View file @
71a57cb2
...
...
@@ -27,6 +27,7 @@ Item {
property
real
minSize
:
0.10
property
bool
inPopup
:
false
property
bool
enablePopup
:
true
signal
activated
()
signal
hideIt
(
bool
state
)
...
...
@@ -127,7 +128,7 @@ Item {
fillMode
:
Image
.
PreserveAspectFit
anchors.left
:
parent
.
left
anchors.top
:
parent
.
top
visible
:
!
isHidden
&&
(
ScreenTools
.
isMobile
||
pipMouseArea
.
containsMouse
)
&&
!
inPopup
&&
!
ScreenTools
.
isMobile
visible
:
!
isHidden
&&
!
inPopup
&&
!
ScreenTools
.
isMobile
&&
enablePopup
height
:
ScreenTools
.
defaultFontPixelHeight
*
2.5
width
:
ScreenTools
.
defaultFontPixelHeight
*
2.5
sourceSize.height
:
height
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment