瀏覽代碼

[fx] Removed min/max on VAxis in curve editor

Clément Espeute 7 月之前
父節點
當前提交
83173f2bb3
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      hide/comp/CurveEditor.hx

+ 3 - 2
hide/comp/CurveEditor.hx

@@ -857,8 +857,9 @@ class CurveEditor extends hide.comp.Component {
 			if(next != null && key.time > next.time)
 				key.time = next.time - 0.01;
 
-			if(c.minValue < c.maxValue)
-				key.value = hxd.Math.clamp(key.value, c.minValue, c.maxValue);
+			// disabled until some one need it
+			// if(c.minValue < c.maxValue)
+			// 	key.value = hxd.Math.clamp(key.value, c.minValue, c.maxValue);
 
 			if(false) {
 				// TODO: This sorta works but is annoying.