Skip to content

Commit

Permalink
Change Checkbox to ToggleSwitch
Browse files Browse the repository at this point in the history
  • Loading branch information
maiko3tattun committed Jun 21, 2023
1 parent 5f59543 commit 3edef7c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions OpenUtau/Controls/NotePropertiesControl.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@

<HeaderedContentControl Classes="groupbox" Header="{DynamicResource notedefaults.vibrato}">
<StackPanel IsEnabled="{Binding IsNoteSelected}">
<Grid ColumnDefinitions="22,*">
<CheckBox IsChecked="{Binding VibratoEnable}" Grid.Column="0" />
<Label Content="{DynamicResource noteproperty.vibratoenable}" Grid.Column="1"/>
</Grid>
<ToggleSwitch IsChecked="{Binding VibratoEnable}" OnContent="{DynamicResource prefs.on}" OffContent="{DynamicResource prefs.off}"/>
<StackPanel IsEnabled="{Binding VibratoEnable}">
<Grid ColumnDefinitions="123,20,*">
<Label Content="{DynamicResource notedefaults.preset}"/>
Expand Down

0 comments on commit 3edef7c

Please sign in to comment.