diff --git a/.gitignore b/.gitignore index 0938d090..189652e6 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,3 @@ windows/**/AvChartConvert.v12.suo windows/installer/Output windows/installer/library android/assets/sounds/** -/.pydevproject diff --git a/.pydevproject b/.pydevproject new file mode 100644 index 00000000..af296c54 --- /dev/null +++ b/.pydevproject @@ -0,0 +1,8 @@ + + + + Default + + python interpreter + + diff --git a/viewer/util/formatter.js b/viewer/util/formatter.js index af4793bf..17ed38be 100644 --- a/viewer/util/formatter.js +++ b/viewer/util/formatter.js @@ -175,7 +175,7 @@ const formatDirection=function(dir,opt_rad,opt_180){ return formatDecimal(dir,3,0); }; formatDirection.parameters=[ {name:'inputRadian',type:'BOOLEAN',default:false}, - {name:'range180',type:'BOOLEAN',default:false} + {name:'±180°',type:'BOOLEAN',default:false} ]; /** diff --git a/viewer/util/helper.js b/viewer/util/helper.js index 46de4c05..c667ac21 100644 --- a/viewer/util/helper.js +++ b/viewer/util/helper.js @@ -135,7 +135,7 @@ Helper.to360=(a)=>{ }; Helper.to180=(a)=>{ - return to360(a+180)-180; + return Helper.to360(a+180)-180; }; Helper.radians=(a)=>{