aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
commit5f1d0213e0dadecc8f93d44e36ea3a11a1aa9baa (patch)
tree8c01fd9b8f9e446d17adf9c415e0a4d6ef988a18 /src/Interface.cs
parent99d63b94c2e0e09eae8efb67e720920c130f7346 (diff)
limit to html safe color plus several ones, crowIDE wip
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 349243b2..cc62a1aa 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -421,7 +421,7 @@ namespace Crow
/// </summary>
/// <returns>new Instantiator</returns>
/// <param name="path">path of the iml file to load</param>
- public virtual Instantiator GetInstantiator(string path){
+ public Instantiator GetInstantiator(string path){
if (!Instantiators.ContainsKey(path))
Instantiators [path] = new Instantiator(this, path);
return Instantiators [path];
@@ -899,7 +899,7 @@ namespace Crow
GraphicObject topc = null;
while (tmp is GraphicObject) {
topc = tmp;
- tmp = tmp.LogicalParent as GraphicObject;
+ tmp = tmp.focusParent;
}
int idxhw = GraphicTree.IndexOf (topc);
if (idxhw != 0) {