We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36ffd7b commit ebaad33Copy full SHA for ebaad33
frontend/src/components/menu/index.tsx
@@ -207,7 +207,8 @@ function MenuBar(props: MenuBarProps) {
207
alert('Canvas area not found.');
208
return;
209
}
210
- // Use promise chain so handler remains synchronous for the menu component
+ // The promise chain ensures the handler executes synchronously within the menu component.
211
+
212
html2canvas(container as HTMLElement, { backgroundColor: null })
213
.then((canvas: HTMLCanvasElement) => {
214
const url = canvas.toDataURL('image/png');
0 commit comments