Skip to content

Commit

Permalink
🎨 #11880
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 authored and 88250 committed Sep 23, 2024
1 parent 70fb00e commit e4e211a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/protyle/render/av/cell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,11 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
avMaskElement.addEventListener("contextmenu", (event) => {
removeAvMask(event);
});
avMaskElement.addEventListener("mousedown", (event:MouseEvent) => {
if (event.button === 1) {
removeAvMask(event);
}
});
};

const updateCellValueByInput = (protyle: IProtyle, type: TAVCol, blockElement: HTMLElement, cellElements: HTMLElement[]) => {
Expand Down

0 comments on commit e4e211a

Please sign in to comment.