mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Add docstring to user-facing focus() method
This commit is contained in:
parent
97b6e39abb
commit
af923a2327
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue