google / google/codeworld

Dragging the if block produces weird results

Abierto
#337 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug funblocks
Lenguaje dominante
Haskell
Estrellas
1.3k
Forks
201
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

![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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.