浏览代码

[fxparams] restored old curve editor resolution

Clement Espeute 1 年之前
父节点
当前提交
5f96240a0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hide/comp/CurveEditor.hx

+ 1 - 1
hide/comp/CurveEditor.hx

@@ -1315,7 +1315,7 @@ class CurveEditor extends hide.comp.Component {
 					var pts = [];
 
 					// Basic value of xScale is 200
-					var num : Int = Std.int(Math.min(1200, 250 * cast (xScale / 200.0)));
+					var num : Int = Std.int(Math.min(5000, 500 * cast (xScale / 200.0)));
 					pts.resize(num);
 					var v = curve.makeVal();
 					if (v == null) throw "wtf";