diff options
| author | j-p <jp.bruyere@live.be> | 2016-08-02 00:25:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-02 00:25:42 +0200 |
| commit | 7aa1b2660fa257e570fb75f4c03bb33f1d7d151e (patch) | |
| tree | 639804dec0ca0d0cfd96cec38489808f9fce197e /src/StyleReader.cs | |
| parent | fd5b776826028a0c12a92f11d1daf4065d4c6024 (diff) | |
| parent | 77f7028debf55a8d6faff8e88c18e33500867774 (diff) | |
Merge pull request #13 from jpbruyere/UpdateQueuingReview
Update queuing review and styling debug
Diffstat (limited to 'src/StyleReader.cs')
| -rw-r--r-- | src/StyleReader.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/StyleReader.cs b/src/StyleReader.cs index 11174e29..92b24e2d 100644 --- a/src/StyleReader.cs +++ b/src/StyleReader.cs @@ -34,7 +34,6 @@ namespace Crow public StyleReader (Assembly assembly, string resId) : base(assembly.GetManifestResourceStream (resId)) { - Interface iface = Interface.CurrentInterface; string styleKey = resId.Substring (0, resId.Length - 6); string token = ""; List<string> targetsClasses = new List<string> (); @@ -105,11 +104,11 @@ namespace Crow string expression = token.Trim (); foreach (string tc in targetsClasses) { - if (!iface.Styling.ContainsKey (tc)) - iface.Styling [tc] = new Dictionary<string, object> (); - else if (iface.Styling [tc].ContainsKey (currentProperty)) + if (!Interface.Styling.ContainsKey (tc)) + Interface.Styling [tc] = new Dictionary<string, object> (); + else if (Interface.Styling [tc].ContainsKey (currentProperty)) continue; - iface.Styling [tc] [currentProperty] = expression; + Interface.Styling [tc] [currentProperty] = expression; } token = ""; } |