#1324: Render the whiteboard before export

- The exported/downloaded from drive whiteboard was empty otherwise
This commit is contained in:
Fabrice Mouhartem 2023-11-15 17:53:31 +01:00
parent 0704609690
commit 0005b933e9

View file

@ -30,6 +30,7 @@ define([
canvas.setWidth(w);
canvas.setHeight(h);
canvas.calcOffset();
canvas.renderAll();
module.ext = '.png';
canvas_node.toBlob(cb);