google / google/codeworld

Dragging the if block produces weird results

Offen
#337 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug funblocks
Vorherrschende Sprache
Haskell
Sterne
1.3k
Forks
201
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.