3b1b / 3b1b/manim

Mouse Tracking not correctly aligned

Aperta
#1,509 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
93.8k
Fork
7.7k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Describe the bug
The mouse is not aligned with the point position.
When I try to use the mouse interaction the mouse is off and what is strange is that the extending or reducing the Window gives
different offset for the mouse

**Code**:
```python
class DummyScene(Scene):
def construct(self):
dot = Dot()
dot.add_updater(lambda dot, dt : dot.move_to(self.mouse_point))
```

**Wrong display or Error traceback**:
If you move the mouse you will see that it is off and changing the window size changes the offset
![Screenshot from 2021-05-12 23-15-39](https://user-images.githubusercontent.com/18736443/118045305-09651900-b378-11eb-97ac-3ec300673d4e.png)
![Screenshot from 2021-05-12 23-15-39](https://user-images.githubusercontent.com/18736443/118045297-05d19200-b378-11eb-8bc2-fe4f661cf30d.png)

### Additional information
I also saw that by tweeking the window size you can find a certain width and height where the dot is aligned with the mouse,
That might be a clue.

PS : I am also a begginer in OpenSource / online collaboration

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.