mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-26 09:57:50 +02:00
Prevent default drag and drop of background tile images if interaction handlers don't prevent dragging for some reason
This commit is contained in:
@@ -198,6 +198,7 @@ export function rendererTileLayer(context) {
|
||||
image.enter()
|
||||
.append('img')
|
||||
.attr('class', 'tile')
|
||||
.attr('draggable', 'false')
|
||||
.style('width', _tileSize + 'px')
|
||||
.style('height', _tileSize + 'px')
|
||||
.attr('src', function(d) { return d[3]; })
|
||||
|
||||
Reference in New Issue
Block a user