mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Specify ManimColor type
This commit is contained in:
parent
da90c5e297
commit
a78e2b6ad2
1 changed files with 2 additions and 2 deletions
|
@ -65,12 +65,12 @@ if TYPE_CHECKING:
|
|||
|
||||
class Checkmark(TexTextFromPresetString):
|
||||
tex: str = R"\ding{51}"
|
||||
default_color: str = GREEN
|
||||
default_color: ManimColor = GREEN
|
||||
|
||||
|
||||
class Exmark(TexTextFromPresetString):
|
||||
tex: str = R"\ding{55}"
|
||||
default_color: str = RED
|
||||
default_color: ManimColor = RED
|
||||
|
||||
|
||||
class Lightbulb(SVGMobject):
|
||||
|
|
Loading…
Add table
Reference in a new issue