Vanessa 2024-05-10 16:11:10 +08:00
parent 4128a8cab2
commit 78cf75b34e

View file

@ -264,6 +264,11 @@ export class Gutter {
data: blockElement.getAttribute("updated") data: blockElement.getAttribute("updated")
}]); }]);
insertAttrViewBlockAnimation(protyle, blockElement, srcIDs, previousID, avID); insertAttrViewBlockAnimation(protyle, blockElement, srcIDs, previousID, avID);
if (event.altKey) {
this.element.querySelectorAll("button").forEach(item => {
item.dataset.rowId = srcIDs[0];
});
}
blockElement.setAttribute("updated", newUpdated); blockElement.setAttribute("updated", newUpdated);
} else { } else {
avContextmenu(protyle, rowElement as HTMLElement, { avContextmenu(protyle, rowElement as HTMLElement, {