You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
When a background image (not colour) is specified and webStorage is enabled (either 'local' or 'session'), a race condition clears any drawings on the board, overwriting with the background image.
The condition exists in:
DrawingBoard.Board=function(id,opts){
...
//reset the board to take all resized spacethis.reset({webStorage: false,history: false,background: true});// the end of the above function triggers an event, which seems to race with the next restore linethis.restoreWebStorage();// this line needs to wait for the earlier trigger to complete. If stepping through with a dubugger, it works fine because the debugger delays between the steps.this.initDropEvents();this.initDrawEvents();};
When a background image (not colour) is specified and webStorage is enabled (either 'local' or 'session'), a race condition clears any drawings on the board, overwriting with the background image.
The condition exists in:
Code to create the board:
The text was updated successfully, but these errors were encountered: