Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
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
Options
Browse Files
Download
Plain Diff
Merge pull request #5879 from patrickelectric/video_update
QGCPipable: Only show popup icon in video
parents
5c23f138
20ef634c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
FlightDisplayView.qml
src/FlightDisplay/FlightDisplayView.qml
+1
-0
QGCPipable.qml
src/QmlControls/QGCPipable.qml
+2
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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