瀏覽代碼

Fix sao parameters don't refresh in hide editor.

borisrp 1 月之前
父節點
當前提交
8e804e8717
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      hrt/prefab/rfx/Sao.hx

+ 3 - 1
hrt/prefab/rfx/Sao.hx

@@ -154,7 +154,9 @@ class Sao extends RendererFX {
 				<dt>Fade end</dt><dd><input type="range" field="fadeEnd"/></dd>
 			</dl>
 		</div>
-		'),this);
+		'),this, function(pname) {
+			ctx.onChange(this,pname);
+		});
 	}
 	#end