7e16f9612b7f630d7cc964500c6fff15daa24a54
Added `RestoreDrawSignatureIfAvailableAsync` in `ReceiverPage.razor` to restore previously captured signatures on the "Draw" tab using `JSRuntime`. Updated `OnPopupShownAsync` and `SetSignatureTabAsync` to invoke this method. In `receiver-signature.js`, fixed comment formatting and added `_detachPad` to cleanly remove event listeners from signature pads. Updated `initialize` to handle reinitialization of canvases by detaching old event listeners and reattaching new ones, preventing redundant listeners and ensuring proper cleanup. These changes enhance signature restoration functionality and improve event listener management to prevent memory leaks and ensure robust behavior.
Description
No description provided
Languages
JavaScript
82.8%
C#
8%
HTML
4.3%
Visual Basic .NET
2.6%
CSS
1.8%
Other
0.4%