put JsonIgnore on some read-only properties in ToolDialogSettings
This commit is contained in:
parent
d5f91cc94e
commit
cc179df444
|
@ -1,4 +1,5 @@
|
|||
using System.Drawing;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace BizHawk.Client.Common
|
||||
{
|
||||
|
@ -19,6 +20,7 @@ namespace BizHawk.Client.Common
|
|||
public bool TopMost { get; set; }
|
||||
public bool FloatingWindow { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public bool UseWindowPosition
|
||||
{
|
||||
get
|
||||
|
@ -27,6 +29,7 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public bool UseWindowSize
|
||||
{
|
||||
get
|
||||
|
@ -35,6 +38,7 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public Point WindowPosition
|
||||
{
|
||||
get
|
||||
|
@ -43,6 +47,7 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public Size WindowSize
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Reference in New Issue