浏览代码

add hidden mode for overview keys

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

+ 3 - 0
hide/comp/CurveEditor.hx

@@ -274,6 +274,9 @@ class OverviewEditor extends Component implements CurveEditorComponent
 		}
 		}
 
 
 		for (curve in this.curveEditor.curves){
 		for (curve in this.curveEditor.curves){
+			if (curve.hidden)
+				continue;
+			
 			var style: Dynamic = { 'fill-opacity' : curve.selected ? 1 : 0.5};
 			var style: Dynamic = { 'fill-opacity' : curve.selected ? 1 : 0.5};
 			
 			
 			if (curve.lock || curve.blendCurve)
 			if (curve.lock || curve.blendCurve)