no breaking note types with undos now !!

This commit is contained in:
lunarcleint
2024-01-29 17:44:23 -07:00
parent 9b0839046a
commit bfce719cde
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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,