File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -239,10 +239,10 @@ <h4>Other</h4>
239
239
</ div >
240
240
</ div >
241
241
< div class ="row option ">
242
- < span > < b > Constrain Float Predictions</ b > </ span >
243
- < div class ="switch off " id ="sw_float_constrained ">
242
+ < span > < b > Wider Float Predictions</ b > </ span >
243
+ < div class ="switch off " id ="sw_float_wide ">
244
244
< span class ="thumb "> </ span >
245
- < input type ="checkbox " id ="opt_float_constrained ">
245
+ < input type ="checkbox " id ="opt_float_wide ">
246
246
</ div >
247
247
</ div >
248
248
< h4 > Overlays</ h4 >
Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ $(window).ready(function() {
732
732
'#sw_show_testing' ,
733
733
"#sw_nowelcome" ,
734
734
"#sw_interpolate" ,
735
- "#sw_float_constrained "
735
+ "#sw_float_wide "
736
736
] ;
737
737
738
738
// applies functionality when switches are toggled
Original file line number Diff line number Diff line change @@ -1682,13 +1682,13 @@ function generateHysplit(callsign) {
1682
1682
hideHysplit ( callsign )
1683
1683
var vehicle = vehicles [ callsign ] ;
1684
1684
vehicle . prediction_hysplit_visible = true ;
1685
- // If requested, constrain the float prediction altitudes to a narrower range.
1686
- if ( offline . get ( "opt_float_constrained" ) ) {
1687
- alt_max = 100 ;
1688
- alt_step = 20 ;
1689
- } else {
1685
+ // If requested, widen the float prediction range.
1686
+ if ( offline . get ( "opt_float_wide" ) ) {
1690
1687
alt_max = 1000 ;
1691
1688
alt_step = 100 ;
1689
+ } else {
1690
+ alt_max = 100 ;
1691
+ alt_step = 20 ;
1692
1692
}
1693
1693
alt_min = alt_max * - 1 ;
1694
1694
for ( var alt = alt_min ; alt <= alt_max ; alt += alt_step ) {
You can’t perform that action at this time.
0 commit comments