no breaking note types with undos now !!
This commit is contained in:
@@ -1180,7 +1180,7 @@ class Charter extends UIState {
|
||||
}
|
||||
|
||||
function _edit_undo(_) {
|
||||
if (strumLines.isDragging || selectionDragging) return;
|
||||
if (strumLines.isDragging || selectionDragging || subState != null) return;
|
||||
|
||||
selection = [];
|
||||
var undo = undos.undo();
|
||||
@@ -1226,7 +1226,7 @@ class Charter extends UIState {
|
||||
}
|
||||
|
||||
function _edit_redo(_) {
|
||||
if (strumLines.isDragging || selectionDragging) return;
|
||||
if (strumLines.isDragging || selectionDragging || subState != null) return;
|
||||
|
||||
selection = [];
|
||||
var redo = undos.redo();
|
||||
|
||||
@@ -146,15 +146,15 @@ class CharterStrumlineOptions extends UITopMenuButton {
|
||||
onSelect: function (_) {
|
||||
Charter.instance.editStrumline(strLine.strumLine);
|
||||
},
|
||||
color: 0xFFFFFF00,
|
||||
icon: 2
|
||||
color: 0xFF959829,
|
||||
icon: 4
|
||||
},
|
||||
{
|
||||
label: "Delete",
|
||||
onSelect: function (_) {
|
||||
Charter.instance.deleteStrumlineFromData(strLine.strumLine);
|
||||
},
|
||||
color: 0xFFFF0000,
|
||||
color: 0xFF982929,
|
||||
icon: 3
|
||||
},
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user