Skip to content

Commit

Permalink
Revert "Chage DEFAULT_SCALE to 5"
Browse files Browse the repository at this point in the history
  • Loading branch information
atalyaalon authored Oct 27, 2024
1 parent ed258a0 commit 0670dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/to-image.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { saveAs } from 'file-saver';
import html2canvas from 'html2canvas';

const DEFAULT_SCALE = 5;
const DEFAULT_SCALE = 3;

const removeMapControllers = (el: Document) => {
const elementList = el.querySelectorAll(
Expand Down Expand Up @@ -32,4 +32,4 @@ const usingHtml2Canvas = (fileName: string, widgetElement: HTMLElement, scale: n
});
};

export default widgetToImage;
export default widgetToImage;

0 comments on commit 0670dc6

Please sign in to comment.