Add docstring to user-facing focus() method

This commit is contained in:
Splines 2024-11-10 19:10:53 +01:00
parent 97b6e39abb
commit af923a2327
No known key found for this signature in database
GPG key ID: 5F314C62908F7B8E

View file

@ -987,6 +987,9 @@ class Scene(object):
pass
def focus(self) -> None:
"""
Puts focus on the ManimGL window.
"""
if not self.window:
return
self.window.focus()