Index: lams_build/conf/whiteboard/src/js/whiteboard.js =================================================================== diff -u -rb73d05cf773a739adb36cc867ad24eb73c207bf9 -r0a02475fc80d88c770630b1ca1450913d5d76900 --- lams_build/conf/whiteboard/src/js/whiteboard.js (.../whiteboard.js) (revision b73d05cf773a739adb36cc867ad24eb73c207bf9) +++ lams_build/conf/whiteboard/src/js/whiteboard.js (.../whiteboard.js) (revision 0a02475fc80d88c770630b1ca1450913d5d76900) @@ -119,11 +119,13 @@ window.addEventListener("resize", function () { // Handel resize - const dbCp = JSON.parse(JSON.stringify(_this.drawBuffer)); // Copy the buffer _this.canvas.width = $(window).width(); _this.canvas.height = $(window).height(); // Set new canvas height _this.drawBuffer = []; - _this.loadData(dbCp); // draw old content in + + // Modified by LAMS + // Do not load canvas content again as it appears on top of the existing content + // For some reason clearning canvas does not work }); $(_this.mouseOverlay).on("mousedown touchstart", function (e) {