Skip to content

Commit

Permalink
Merge branch 'rapha' into consti-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle authored Nov 17, 2023
2 parents c633fd5 + b3518ae commit f176d59
Show file tree
Hide file tree
Showing 3 changed files with 485 additions and 109 deletions.
11 changes: 9 additions & 2 deletions qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,15 @@ ApplicationWindow {

//width: 850
//height: 480
width: (settings.general_screen_rotation == 90 || settings.general_screen_rotation == 270) ? m_window_height : m_window_width
height: (settings.general_screen_rotation == 90 || settings.general_screen_rotation == 270) ? m_window_width : m_window_height
width: 1920
height: 1080

onWidthChanged: {
_qrenderstats.set_window_width(width)
}
onHeightChanged: {
_qrenderstats.set_window_height(height)
}

onWidthChanged: {
_qrenderstats.set_window_width(width)
Expand Down
6 changes: 3 additions & 3 deletions qml/ui/HUDOverlayGrid.qml
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,6 @@ Item {
LinkUpRSSIWidget {
id: uplink
}
Sidebar{
id: sidebar
}
// ----------------------------------------------------------------------------
// TODO SORT ME

Expand Down Expand Up @@ -474,6 +471,9 @@ Item {
UAVTimeWiget{
id: uavtimewidget
}
Sidebar{
id: sidebar
}
}

// Extra element - allows customizing the OSD color(s) and more
Expand Down
Loading

0 comments on commit f176d59

Please sign in to comment.