Pārlūkot izejas kodu

[fxparams] restored old curve editor resolution

Clement Espeute 1 gadu atpakaļ
vecāks
revīzija
5f96240a0e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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";