File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ impl BridgeApp {
4848 status_message : "Ready" . to_string ( ) ,
4949 tx_system,
5050 file_dialog : egui_file_dialog:: FileDialog :: new ( ) ,
51- active_tab : Tab :: NodeGraph ,
51+ active_tab : Tab :: Console ,
5252 snarl : egui_snarl:: Snarl :: new ( ) ,
5353 snarl_zoom_pending : 1.0 ,
5454 mapping_nodes : std:: collections:: HashMap :: new ( ) ,
@@ -155,8 +155,8 @@ impl eframe::App for BridgeApp {
155155
156156 // Tab Navigation
157157 ui. horizontal ( |ui| {
158- ui. selectable_value ( & mut self . active_tab , Tab :: NodeGraph , "🕸 Node Graph " ) ;
159- ui. selectable_value ( & mut self . active_tab , Tab :: Console , "🎛 Console " ) ;
158+ ui. selectable_value ( & mut self . active_tab , Tab :: Console , "🎛 Simple View " ) ;
159+ ui. selectable_value ( & mut self . active_tab , Tab :: NodeGraph , "🕸 Advanced View " ) ;
160160 ui. selectable_value ( & mut self . active_tab , Tab :: Settings , "⚙ Settings" ) ;
161161 } ) ;
162162
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ impl OscServer {
143143 {
144144 let mut m = midi. lock ( ) . unwrap ( ) ;
145145 let eos_bank_size = m. profile . eos_bank_size ;
146- if f_num <= eos_bank_size {
146+ if f_num > 0 && f_num <= eos_bank_size {
147147 let mut text = text. clone ( ) ;
148148 if text. starts_with ( "S" ) {
149149 let split: Vec < & str > = text. split_whitespace ( ) . collect ( ) ;
@@ -207,7 +207,7 @@ impl OscServer {
207207 if let Ok ( f_num) = f_str. parse :: < usize > ( ) {
208208 let mut m = midi. lock ( ) . unwrap ( ) ;
209209 let eos_bank_size = m. profile . eos_bank_size ;
210- if f_num <= eos_bank_size {
210+ if f_num > 0 && f_num <= eos_bank_size {
211211 let pitch = ( val * 16383.0 ) . round ( ) as i16 - 8192 ;
212212 // Update physical pitchwheel if a mapping exists for this fader index
213213 m. enqueue_pitchwheel ( ( f_num - 1 ) as u8 , pitch) ;
You can’t perform that action at this time.
0 commit comments