Browse Source

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

Leonardo Jeanteur 4 years ago
parent
commit
e5d08915f6
1 changed files with 2 additions and 2 deletions
  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");
 		}
 		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) {