]> gerrit.simantics Code Review - simantics/district.git/commit
Fixed District diagram viewer to allow moving of vertices again. 55/4055/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 20 Mar 2020 13:15:21 +0000 (15:15 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 20 Mar 2020 13:17:21 +0000 (13:17 +0000)
commit87c7d46cf9b76da151f7d3dd93cbd2982c9213d3
tree3d8cb107d8b547844725d9d46942c27667d3e7c7
parentffc08c03b2678d6ce7fa291e8ad1ac482990a3d8
Fixed District diagram viewer to allow moving of vertices again.

The problem was caused by the default grid snap advisor which the base
DiagramViewer injects into the canvas context, which had 1.0mm snap
region. This removes the snap advisor entirely.

gitlab #82

Change-Id: Ibbced0c118801266c15e1dae50f39fdee28cf0a6
(cherry picked from commit ff17be003806b0570ebd6f0017d27e99e31e0c24)
org.simantics.district.network.ui/src/org/simantics/district/network/ui/DistrictDiagramViewer.java