Skip to content

Commit

Permalink
slightly decrease the default size of the artificial horizon
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Nov 14, 2023
1 parent 07fa49d commit 54576da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions qml/ui/widgets/HorizonWidget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ BaseWidget {

// Note: By the width / height we also controll the clipping area (since the horizon is double drawn, into a texture, then onto the screen).
// Ideally, we want to reduce the "overdraw" to save GPU resources, e.g. make this area as small as possible / as less pixels as possible.
width: 600 * settings.horizon_clip_area_scale
height: 600 * settings.horizon_clip_area_scale
width: 400 * settings.horizon_clip_area_scale
height: 400 * settings.horizon_clip_area_scale
//width: applicationWindow.width *0.8 * settings.horizon_clip_area_scale
//height: applicationWindow.height *0.8 * settings.horizon_clip_area_scale
clip: false
Expand Down
4 changes: 2 additions & 2 deletions qml/ui/widgets/WBLinkRateControlWidget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ BaseWidget {

ListModel{
id: mcs_model
ListElement {title: "MCS0 "; value: 0}
ListElement {title: "MCS1 "; value: 1}
ListElement {title: "MCS0 (LONG RANGE)"; value: 0}
ListElement {title: "MCS1 (RANGE)"; value: 1}
ListElement {title: "MCS2 (DEFAULT)"; value: 2}
ListElement {title: "MCS3 (EXPERIMENTAL)"; value: 3}
ListElement {title: "MCS4 (EXPERIMENTAL)"; value: 4}
Expand Down

0 comments on commit 54576da

Please sign in to comment.