Skip to content

Commit

Permalink
fix: remove loader style
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasidha Karki committed Aug 5, 2022
1 parent 66ce369 commit b328f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modes/canvas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class Snipping {
_takeScreenShot = async () => {
getElement('._snapLoader')[0].style.display = 'none';
// document.body.style.height = '10vh';

console.log('Taking Screenshot v1.0.4');
this.resetSnap();
const func = this;
const mainContainer = getElement('.snippingFeedBackContainer')[0];
Expand Down Expand Up @@ -518,7 +518,7 @@ class Snipping {

_snapButton.addEventListener('click', () => {
_snapButton.style.display = 'none';
_loader.style.display = 'block';
// _loader.style.display = 'block';
this._takeScreenShot();
});
_snapButtonContainer.appendChild(_snapButton);
Expand Down

0 comments on commit b328f63

Please sign in to comment.