@@ -60,28 +60,20 @@ impl Control {
6060 settings. hide_mini_map = !settings. hide_mini_map ;
6161 Self :: reload_tab ( state, theme) ;
6262 }
63- pub fn toggle_show_guitar_syllable (
63+ pub fn toggle_show_note_syllable (
6464 state : & mut NotationState ,
6565 settings : & mut NotationSettings ,
6666 theme : & mut NotationTheme ,
6767 ) {
68- settings. show_guitar_syllable = !settings. show_guitar_syllable ;
68+ settings. show_note_syllable = !settings. show_note_syllable ;
6969 Self :: reload_tab ( state, theme) ;
7070 }
71- pub fn toggle_show_melody_syllable (
71+ pub fn toggle_show_note_pitch (
7272 state : & mut NotationState ,
7373 settings : & mut NotationSettings ,
7474 theme : & mut NotationTheme ,
7575 ) {
76- settings. show_melody_syllable = !settings. show_melody_syllable ;
77- Self :: reload_tab ( state, theme) ;
78- }
79- pub fn toggle_show_melody_pitch (
80- state : & mut NotationState ,
81- settings : & mut NotationSettings ,
82- theme : & mut NotationTheme ,
83- ) {
84- settings. show_melody_pitch = !settings. show_melody_pitch ;
76+ settings. show_note_pitch = !settings. show_note_pitch ;
8577 Self :: reload_tab ( state, theme) ;
8678 }
8779 pub fn toggle_always_show_fret (
@@ -136,8 +128,8 @@ impl Control {
136128 show_melody_pitch : bool ,
137129 ) {
138130 settings. hide_melody_lane = false ;
139- settings. show_melody_pitch = show_melody_pitch;
140- settings. show_melody_syllable = true ;
131+ settings. show_note_pitch = show_melody_pitch;
132+ settings. show_note_syllable = true ;
141133 settings. show_syllable_as_num = true ;
142134 theme. sizes . layout . page_margin = 24.0 ;
143135 theme. sizes . melody . note_height = 9.0 ;
0 commit comments