Skip to content

Commit

Permalink
chore: restore feat: display open button when hovering
Browse files Browse the repository at this point in the history
  • Loading branch information
gitcpy committed Nov 16, 2024
1 parent d9e496e commit 52ca98f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ export default class MermaidPopupPlugin extends Plugin {
isDragging = false;
});

//popupButton.setCssStyles({display:'none'});
//this.makePopupButtonDisplay_WhenHoverOnContainer(popupButton, target.parentElement as HTMLElement);
popupButton.setCssStyles({display:'none'});
this.makePopupButtonDisplay_WhenHoverOnContainer(popupButton, target.parentElement as HTMLElement);
}

makePopupButtonDisplay_WhenHoverOnContainer(button:HTMLElement, container:HTMLElement){
Expand Down

0 comments on commit 52ca98f

Please sign in to comment.