mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Mission Planner 1.2.25
fix scaling problem on arducopter config tab. when linking is enabled
This commit is contained in:
parent
f1206ed363
commit
c1222a75f3
@ -299,7 +299,7 @@ namespace ArdupilotMega.GCSViews.ConfigurationView
|
|||||||
{
|
{
|
||||||
string newname = name.Replace("_RLL_", "_PIT_");
|
string newname = name.Replace("_RLL_", "_PIT_");
|
||||||
Control[] arr = this.Controls.Find(newname, true);
|
Control[] arr = this.Controls.Find(newname, true);
|
||||||
changes[newname] = float.Parse(((Control)sender).Text);
|
changes[newname] = value;
|
||||||
|
|
||||||
if (arr.Length > 0)
|
if (arr.Length > 0)
|
||||||
{
|
{
|
||||||
@ -312,7 +312,7 @@ namespace ArdupilotMega.GCSViews.ConfigurationView
|
|||||||
{
|
{
|
||||||
string newname = name.Replace("_PIT_", "_RLL_");
|
string newname = name.Replace("_PIT_", "_RLL_");
|
||||||
Control[] arr = this.Controls.Find(newname, true);
|
Control[] arr = this.Controls.Find(newname, true);
|
||||||
changes[newname] = float.Parse(((Control)sender).Text);
|
changes[newname] = value;
|
||||||
|
|
||||||
if (arr.Length > 0)
|
if (arr.Length > 0)
|
||||||
{
|
{
|
||||||
@ -327,7 +327,7 @@ namespace ArdupilotMega.GCSViews.ConfigurationView
|
|||||||
{
|
{
|
||||||
string newname = name.Replace("NAV_LAT_", "NAV_LON_");
|
string newname = name.Replace("NAV_LAT_", "NAV_LON_");
|
||||||
Control[] arr = this.Controls.Find(newname, true);
|
Control[] arr = this.Controls.Find(newname, true);
|
||||||
changes[newname] = float.Parse(((Control)sender).Text);
|
changes[newname] = value;
|
||||||
|
|
||||||
if (arr.Length > 0)
|
if (arr.Length > 0)
|
||||||
{
|
{
|
||||||
@ -340,7 +340,7 @@ namespace ArdupilotMega.GCSViews.ConfigurationView
|
|||||||
{
|
{
|
||||||
string newname = name.Replace("LOITER_LAT_", "LOITER_LON_");
|
string newname = name.Replace("LOITER_LAT_", "LOITER_LON_");
|
||||||
Control[] arr = this.Controls.Find(newname, true);
|
Control[] arr = this.Controls.Find(newname, true);
|
||||||
changes[newname] = float.Parse(((Control)sender).Text);
|
changes[newname] = value;
|
||||||
|
|
||||||
if (arr.Length > 0)
|
if (arr.Length > 0)
|
||||||
{
|
{
|
||||||
@ -353,7 +353,7 @@ namespace ArdupilotMega.GCSViews.ConfigurationView
|
|||||||
{
|
{
|
||||||
string newname = name.Replace("HLD_LAT_", "HLD_LON_");
|
string newname = name.Replace("HLD_LAT_", "HLD_LON_");
|
||||||
Control[] arr = this.Controls.Find(newname, true);
|
Control[] arr = this.Controls.Find(newname, true);
|
||||||
changes[newname] = float.Parse(((Control)sender).Text);
|
changes[newname] = value;
|
||||||
|
|
||||||
if (arr.Length > 0)
|
if (arr.Length > 0)
|
||||||
{
|
{
|
||||||
|
@ -34,5 +34,5 @@ using System.Resources;
|
|||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.1.*")]
|
[assembly: AssemblyVersion("1.1.*")]
|
||||||
[assembly: AssemblyFileVersion("1.2.24")]
|
[assembly: AssemblyFileVersion("1.2.25")]
|
||||||
[assembly: NeutralResourcesLanguageAttribute("")]
|
[assembly: NeutralResourcesLanguageAttribute("")]
|
||||||
|
Loading…
Reference in New Issue
Block a user