浏览代码

Fix selected scenetree element not being marked after removing tag (#170)

Leonardo Jeanteur 4 年之前
父节点
当前提交
e5d08915f6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      hide/comp/SceneEditor.hx

+ 2 - 2
hide/comp/SceneEditor.hx

@@ -1181,8 +1181,8 @@ class SceneEditor {
 			el.find("ul").first().css("background", tag.color + "80");
 			el.find("ul").first().css("background", tag.color + "80");
 		}
 		}
 		else if(pname == "tag") {
 		else if(pname == "tag") {
-			aEl.css("background", "none");
-			el.find("ul").first().css("background", "none");
+			aEl.css("background", "");
+			el.find("ul").first().css("background", "");
 		}
 		}
 
 
 		if(obj3d != null) {
 		if(obj3d != null) {