Created
May 25, 2016 09:19
-
-
Save bilke/82b0b5eb86f4ac320e9056589fd93bfb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Assets/MarkLight/Source/Plugins/DependencyViewFields.cs b/Assets/MarkLight/Source/Plugins/DependencyViewFields.csindex 2e9b511..8eeba1e 100644 | |
| --- a/Assets/MarkLight/Source/Plugins/DependencyViewFields.cs | |
| +++ b/Assets/MarkLight/Source/Plugins/DependencyViewFields.cs | |
| @@ -43,26 +43,27 @@ namespace MarkLight | |
| public static implicit operator Color(_Color value) { return value.Value; } | |
| } | |
| - [Serializable] | |
| - public class _ElementSize : ViewField<ElementSize> | |
| - { | |
| - private ElementSizeUnit percents; | |
| - private float v; | |
| - | |
| - public _ElementSize(float v, ElementSizeUnit percents) | |
| - { | |
| - this.v = v; | |
| - this.percents = percents; | |
| - } | |
| - | |
| - public _ElementSize() | |
| - { | |
| - this.v = 1; | |
| - this.percents = ElementSizeUnit.Percents; | |
| - } | |
| - } | |
| - | |
| [Serializable] | |
| + public class _ElementSize : ViewField<ElementSize> | |
| + { | |
| + private ElementSizeUnit percents; | |
| + private float v; | |
| + | |
| + public _ElementSize(float v, ElementSizeUnit percents) | |
| + { | |
| + this.v = v; | |
| + this.percents = percents; | |
| + } | |
| + | |
| + public _ElementSize() | |
| + { | |
| + this.v = 1; | |
| + this.percents = ElementSizeUnit.Percents; | |
| + } | |
| + } | |
| + | |
| + | |
| +[Serializable] | |
| public class _Font : ViewField<Font> { } | |
| [Serializable] | |
| @@ -92,7 +93,7 @@ namespace MarkLight | |
| public static implicit operator ElementAlignment(_ElementAlignment value) { return value.Value; } | |
| } | |
| - [Serializable] | |
| + [Serializable] | |
| public class _ElementOrientation : ViewField<ElementOrientation> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment