Hello author,
Thank you for providing such a useful tool for everyone to use.
When I use the Mask Tool to draw the mask, and press the Done button. I cannot add polygon. I can find the "Uncaught TypeError: Cannot read property 'time_point' of null" error message in the Console.
I can correct this error by modifying the following code:
|
html_str += '<timefirst>' + draw_anno.time_point[0] + '</timefirst>'; |
|
html_str += '<timesecond>' + draw_anno.time_point[1] + '</timesecond>'; |
To:
html_str += '<timefirst>' + anno.time_point[0] + '</timefirst>';
html_str += '<timesecond>' + anno.time_point[1] + '</timesecond>';
Hope this finding can help everyone.