3b1b / 3b1b/manim

Coloring subscripts/superscripts gets messed up

Aperta
#1,183 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
93.8k
Fork
7.7k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

Consider the following scene:

```python
class TestColor(Scene):
def construct(self):
t = TexMobject("e_1", "^2")
t[0].set_color(RED)
self.add(t)
self.wait(1)
```

When rendered, this scene makes the 2 red, but not the 1. You can workaround the issue by splitting it in three parts and write the superscript first, but it's still an annoying bug.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.