From 7d84ba29057264497818c4c315bec7547cc9afac Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Mon, 1 Aug 2016 12:45:27 +0200 Subject: Improve update queuing modifié : src/GraphicObjects/GenericStack.cs modifié : src/GraphicObjects/GraphicObject.cs modifié : src/GraphicObjects/Group.cs modifié : src/GraphicObjects/Label.cs modifié : src/GraphicObjects/ListBox.cs modifié : src/GraphicObjects/TabView.cs modifié : src/Interface.cs modifié : src/StyleReader.cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tests updates modifié : Tests/BasicTests.cs modifié : Tests/Interfaces/Divers/testWindow.goml modifié : Tests/Interfaces/Divers/welcome.crow modifié : Tests/Interfaces/Expandable/0.crow renommé : Tests/Interfaces/Nouveau dossier/test4.1.crow -> Tests/Interfaces/Unsorted/test4.1.crow renommé : Tests/Interfaces/Nouveau dossier/test4.crow -> Tests/Interfaces/Unsorted/test4.crow renommé : Tests/Interfaces/Nouveau dossier/test6.crow -> Tests/Interfaces/Unsorted/test6.crow renommé : Tests/Interfaces/Nouveau dossier/testColorList.crow -> Tests/Interfaces/Unsorted/testColorList.crow renommé : Tests/Interfaces/Nouveau dossier/testDirViewer.crow -> Tests/Interfaces/Unsorted/testDirViewer.crow renommé : Tests/Interfaces/Nouveau dossier/testFileDialog.goml -> Tests/Interfaces/Unsorted/testFileDialog.goml renommé : Tests/Interfaces/Nouveau dossier/testImage.crow -> Tests/Interfaces/Unsorted/testImage.crow renommé : Tests/Interfaces/Nouveau dossier/testLabel.crow -> Tests/Interfaces/Unsorted/testLabel.crow renommé : Tests/Interfaces/Nouveau dossier/testMsgBox.crow -> Tests/Interfaces/Unsorted/testMsgBox.crow renommé : Tests/Interfaces/Nouveau dossier/testOutOfClipUpdate.crow -> Tests/Interfaces/Unsorted/testOutOfClipUpdate.crow renommé : Tests/Interfaces/Nouveau dossier/testRadioButton2.crow -> Tests/Interfaces/Unsorted/testRadioButton2.crow renommé : Tests/Interfaces/Nouveau dossier/testTabView.crow -> Tests/Interfaces/Unsorted/testTabView.crow renommé : Tests/Interfaces/Nouveau dossier/testTreeView.crow -> Tests/Interfaces/Unsorted/testTreeView.crow renommé : Tests/Interfaces/Nouveau dossier/testTypeViewer.goml -> Tests/Interfaces/Unsorted/testTypeViewer.goml modifié : Tests/Tests.csproj --- src/StyleReader.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/StyleReader.cs') 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 targetsClasses = new List (); @@ -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 (); - else if (iface.Styling [tc].ContainsKey (currentProperty)) + if (!Interface.Styling.ContainsKey (tc)) + Interface.Styling [tc] = new Dictionary (); + else if (Interface.Styling [tc].ContainsKey (currentProperty)) continue; - iface.Styling [tc] [currentProperty] = expression; + Interface.Styling [tc] [currentProperty] = expression; } token = ""; } -- cgit v1.3.1-4-g156e