mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-02 00:15:12 +02:00
Fix snapping after moving (fixes #880)
This commit is contained in:
+2
-1
@@ -52,7 +52,8 @@ iD.svg.Points = function(projection) {
|
||||
// sets the data (point entity) on the element
|
||||
groups.select('image')
|
||||
.attr('xlink:href', imageHref);
|
||||
groups.select('.shadow, .stroke');
|
||||
groups.select('.shadow');
|
||||
groups.select('.stroke');
|
||||
|
||||
groups.exit()
|
||||
.remove();
|
||||
|
||||
@@ -39,8 +39,10 @@ iD.svg.Vertices = function(projection) {
|
||||
.classed('shared', function(entity) { return graph.isShared(entity); });
|
||||
|
||||
// Selecting the following implicitly
|
||||
// sets the data (vertix entity) on the elements
|
||||
groups.select('circle.fill, circle.stroke, circle.shadow');
|
||||
// sets the data (vertex entity) on the elements
|
||||
groups.select('circle.fill');
|
||||
groups.select('circle.stroke');
|
||||
groups.select('circle.shadow');
|
||||
|
||||
groups.exit()
|
||||
.remove();
|
||||
|
||||
Reference in New Issue
Block a user