]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed two problems in connecting picking 35/3435/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 31 Oct 2019 13:52:35 +0000 (15:52 +0200)
committerJussi Koskela <jussi.koskela@semantum.fi>
Thu, 31 Oct 2019 13:52:35 +0000 (15:52 +0200)
commitab34f2a146e164816331582bf89385cfc9d09818
tree18cf39329f32ce23ac8b8c6ef7d4333934e250c8
parent89abd1b2ffb448c1291051907d23ab2d66661f10
Fixed two problems in connecting picking

Tolerance was incorrectly subtracted instead of added in RouteLine
picking. RouteGraphConnectionClass did not take selection stroke width
into account when doing coarse picking based on bounding box.

gitlab #396

Change-Id: I6dabe7297eb553f0894c4299c393bb5369b45866
bundles/org.simantics.diagram.connection/src/org/simantics/diagram/connection/RouteLine.java
bundles/org.simantics.g2d/src/org/simantics/g2d/elementclass/RouteGraphConnectionClass.java