Переглянути джерело

[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 = [];
 					var pts = [];
 
 
 					// Basic value of xScale is 200
 					// 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);
 					pts.resize(num);
 					var v = curve.makeVal();
 					var v = curve.makeVal();
 					if (v == null) throw "wtf";
 					if (v == null) throw "wtf";