Jelajahi Sumber

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

Clément Espeute 7 bulan lalu
induk
melakukan
83173f2bb3
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  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)
 			if(next != null && key.time > next.time)
 				key.time = next.time - 0.01;
 				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) {
 			if(false) {
 				// TODO: This sorta works but is annoying.
 				// TODO: This sorta works but is annoying.