Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion OpenUtau/Controls/NotePropertiesControl.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:OpenUtau.App.ViewModels"
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="600" Width="400"
x:Class="OpenUtau.App.Controls.NotePropertiesControl" KeyDown="OnKeyDown" Margin="0">
x:Class="OpenUtau.App.Controls.NotePropertiesControl"
KeyDown="OnKeyDown" Focusable="True">
<UserControl.Styles>
<Style Selector="Button,CheckBox">
<Setter Property="Focusable" Value="False"/>
Expand Down
12 changes: 8 additions & 4 deletions OpenUtau/Controls/PianoRoll.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1294,8 +1294,8 @@ bool OnKeyExtendedHandler(KeyEventArgs args) {
}
break;
case Key.F11:
OnMenuFullScreen(RootWindow, new RoutedEventArgs());
break;
OnMenuFullScreen(this, new RoutedEventArgs());
return true;
case Key.Enter:
if (isNone) {
if (notesVm.Selection.Count == 1) {
Expand Down Expand Up @@ -1455,6 +1455,7 @@ bool OnKeyExtendedHandler(KeyEventArgs args) {
}
if (isAlt) {
SnapDivMenu.Open();
return true;
}
break;
case Key.OemPipe:
Expand Down Expand Up @@ -1734,6 +1735,7 @@ bool OnKeyExtendedHandler(KeyEventArgs args) {
// mute
if (isShift) {
MessageBus.Current.SendMessage(new TracksMuteEvent(notesVm.Part.trackNo, false));
return true;
}
break;
case Key.F:
Expand Down Expand Up @@ -1792,13 +1794,15 @@ bool OnKeyExtendedHandler(KeyEventArgs args) {
#region move to the next track part
case Key.PageUp: {
if (isNone) {
return MoveToNextPart(false);
MoveToNextPart(false);
return true;
}
}
break;
case Key.PageDown: {
if (isNone) {
return MoveToNextPart(true);
MoveToNextPart(true);
return true;
}
}
break;
Expand Down
Loading