yellow team mailing list archive
-
yellow team
-
Mailing list archive
-
Message #01179
Re: Fix for rounding error on drag-relation. (issue 6741047)
*** Submitted:
Fix for rounding error on drag-relation.
New service blocks have integer x/y coordinates, leading to mouseenter
failing at the d.containsPoint() test when one of the mouse coordinates
matched exactly with one of the edges of the service block. To
reproduce, create two new services (say varnish and node-app) and,
without navigating away from the environment view, drag them to be
diagonal relative to each other, then try to drag a relation from one to
the other through the corner of the service node. Correct behavior
(this branch) should be for the drag line to snap to the two nearest
connectors (as opposed to passing through the service without
recognizing that it had entered).
R=
CC=
https://codereview.appspot.com/6741047
https://codereview.appspot.com/6741047/
--
https://code.launchpad.net/~makyo/juju-gui/bad-drag/+merge/130424
Your team Juju GUI Hackers is subscribed to branch lp:juju-gui.
References