Prechádzať zdrojové kódy

:art: https://github.com/siyuan-note/siyuan/issues/11335

Vanessa 1 rok pred
rodič
commit
78cf75b34e
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      app/src/protyle/gutter/index.ts

+ 5 - 0
app/src/protyle/gutter/index.ts

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