improved UI and correctly set the default cursor while using DragManager
This commit is contained in:
parent
b06e3628f0
commit
6a3d019485
@ -387,16 +387,19 @@ namespace UniversalEditor.Editors.Multimedia.Audio.Synthesized.Views.PianoRoll
|
||||
case PianoRollViewSelectionMode.Insert:
|
||||
{
|
||||
Cursor = Cursors.Pencil;
|
||||
dm.DefaultCursor = Cursors.Pencil;
|
||||
break;
|
||||
}
|
||||
case PianoRollViewSelectionMode.Select:
|
||||
{
|
||||
Cursor = Cursors.Default;
|
||||
dm.DefaultCursor = Cursors.Default;
|
||||
break;
|
||||
}
|
||||
case PianoRollViewSelectionMode.Delete:
|
||||
{
|
||||
Cursor = Cursors.Eraser;
|
||||
dm.DefaultCursor = Cursors.Eraser;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -845,6 +848,9 @@ namespace UniversalEditor.Editors.Multimedia.Audio.Synthesized.Views.PianoRoll
|
||||
})
|
||||
})
|
||||
});
|
||||
dlg.Text = "Note Properties";
|
||||
dlg.EnableProfiles = false;
|
||||
|
||||
if (dlg.ShowDialog(ParentWindow) == DialogResult.OK)
|
||||
{
|
||||
((Parent as PianoRollView).Parent as Editor).BeginEdit();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user