Fix #8101 - new roo bjs files fail and fix top drop
[roobuilder] / src / Palete / Roo.vala
index 68f2a28..d05c7a1 100644 (file)
@@ -444,9 +444,11 @@ namespace Palete {
                        }
                        
                        foreach(var str in cls.can_drop_onto) {
-
                                ret.add(str);
                        }
+                       if (this.top_classes.contains(rval)) {
+                               ret.add("*top");
+                       }
                        //GLib.debug("getDropList for %s return[] %s", rval, string.joinv(", ", ret));
                        this.dropCache.set(rval,ret);
                        return ret;