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
commitfda39ed7506551ab48dce271cb2d5e9c63f2b00c (patch)
treed0ed602830692962c044f0614639a0939caa03f6 /src/Interface.cs
parent80dc0221c3455a50b8877f19c4a19043af0042f4 (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) {