google / google/codeworld

Dragging the if block produces weird results

Aperta
#337 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug funblocks
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![ifdrag](https://cloud.githubusercontent.com/assets/544744/18338675/9cf7c6ac-754f-11e6-93e4-e9fe95fc9942.png)

Grabbing the `if` block from the toolbox results in a noticeable delay. If the mouse is held still for the delay, all is well. If the mouse is moved during the delay, then the offsets of various shadow and connectors are incorrect by an amount roughly proportional to the mouse movement, as in the screen shot.

It's as if there's some very excessive computation that gets run when the block is grabbed; and furthermore, that the current mouse position is sometimes grabbed before that computation, and sometimes after, resulting in incorrect offsets for some components.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.