Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed 'clip.preview()' crashing at exit when running inside Jupyter N…
…otebook in Windows (Zulko#1537) * Update preview.py, fix issue Zulko#575 Fixed issue Zulko#575. Added two pg.quit statements at lines 146 and 162. For line 146, this statement adds quit functionality for " event.type == pg.KEYDOWN and event.key == pg.K_ESCAPE". This allows the window to close whenever the event triggers. For line 162, once the for loop ends (the video ends), the window closes instead of crashing. Co-authored-by: jacobwhiteman17 <54951159+jacobwhiteman17@users.noreply.github.com>
- Loading branch information