qgis/QGIS — pull request #1313 by manisandro (2014-04-09 11:26:10+00:00)
Title: When searching snap targets in composer view, pick the closest one

There are some cases where items moved in the composer view do not snap to the expected edge. For instance, it is impossible to move and align the label "Demo Print Composer" to the left of the label "QGIS Enterprise 13.03" in this example: http://smani.fedorapeople.org/druckvorlage.qpt

This patch ensures the closest snap boundary is picked.

Funded by Sourcepole QGIS Enterprise.