@@ -7,6 +7,7 @@ interface OperatorPanelProps {
77 key ?: React . Key ;
88 index : number ;
99 params : OperatorParams ;
10+ level ?: number ;
1011 onChange : ( newParams : OperatorParams ) => void ;
1112}
1213
@@ -39,7 +40,7 @@ const CurveIcon: React.FC<{ type: number; mirrored?: boolean }> = ({ type, mirro
3940 ) ;
4041} ;
4142
42- const OperatorPanel : React . FC < OperatorPanelProps > = ( { index, params, onChange } ) => {
43+ const OperatorPanel : React . FC < OperatorPanelProps > = ( { index, params, level , onChange } ) => {
4344 const update = ( field : keyof OperatorParams , value : any ) => {
4445 onChange ( { ...params , [ field ] : value } ) ;
4546 } ;
@@ -86,13 +87,22 @@ const OperatorPanel: React.FC<OperatorPanelProps> = ({ index, params, onChange }
8687 < div className = { `flex items-center border-b border-white/10 transition-all relative w-full ${ isActive ? 'bg-[#1a1a1a]' : 'bg-[#0f0f0f] opacity-60' } ` } >
8788
8889 { /* Sidebar Toggle Section */ }
89- < div className = "flex flex-col items-center justify-center min-w-[80px] w-[80px] lg:min-w-[40px] lg:w-[40px] h-full border-r border-white/5 bg-black/40 shrink-0 z-10" >
90+ < div className = "flex flex-col items-center justify-center min-w-[80px] w-[80px] lg:min-w-[40px] lg:w-[40px] h-full border-r border-white/5 bg-black/40 shrink-0 z-10 relative overflow-hidden" >
91+
9092 < button
9193 onClick = { toggleOperator }
92- className = { `w-10 h-10 lg:w-7 lg:h-7 rounded-sm flex items-center justify-center border transition-all font-orbitron font-bold text-sm lg:text-[10px] active:scale-90 select-none ${ isActive ? 'bg-black text-dx7-teal border-dx7-teal shadow-[0_0_15px_rgba(0,212,193,0.3)]' : 'bg-[#080808] text-gray-700 border-[#1a1a1a]' } ` }
94+ className = { `relative z-10 w-10 h-10 lg:w-7 lg:h-7 rounded-sm flex items-center justify-center border transition-all font-orbitron font-bold text-sm lg:text-[10px] active:scale-90 select-none ${ isActive ? 'bg-black text-dx7-teal border-dx7-teal shadow-[0_0_15px_rgba(0,212,193,0.3)]' : 'bg-[#080808] text-gray-700 border-[#1a1a1a]' } ` }
9395 >
9496 { index }
9597 </ button >
98+
99+ { /* High Visibility Level Meter (Right Edge) */ }
100+ < div className = "absolute right-0 top-0 bottom-0 w-[3px] bg-black/50" >
101+ < div
102+ className = "absolute bottom-0 left-0 right-0 bg-dx7-teal shadow-[0_0_8px_#00d4c1] transition-all duration-75 ease-out"
103+ style = { { height : `${ Math . min ( 100 , ( level || 0 ) * 150 ) } %` } } // Increased sensitivity (1.5x)
104+ />
105+ </ div >
96106 </ div >
97107
98108 { /* Control Surface */ }
0 commit comments