Parcourir la source

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

Leonardo Jeanteur il y a 4 ans
Parent
commit
e5d08915f6
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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) {