mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 03:41:33 +00:00
Use clip-path again for tiles
This commit is contained in:
@@ -51,9 +51,7 @@
|
||||
<script src='js/id/connection.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="iD"></div>
|
||||
<script>
|
||||
<div id="iD"></div><script>
|
||||
var id = iD(document.getElementById('iD'));
|
||||
</script>
|
||||
</body>
|
||||
</script></body>
|
||||
</html>
|
||||
|
||||
@@ -79,6 +79,7 @@ iD.Map = function() {
|
||||
.attr({ x: 0, y: 0 });
|
||||
|
||||
tilegroup = surface.append('g')
|
||||
.attr('clip-path', 'url(#clip)')
|
||||
.on('click', deselectClick);
|
||||
|
||||
r = surface.append('g')
|
||||
|
||||
Reference in New Issue
Block a user