mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 13:18:15 +02:00
Refactor Entity, Node, Relation, Tags, Way from core to osm
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as d3 from 'd3';
|
||||
import { d3keybinding } from '../lib/d3.keybinding.js';
|
||||
import { coreEntity } from '../core/index';
|
||||
import { osmEntity } from '../osm/index';
|
||||
import { utilRebind } from '../util/rebind';
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ export function behaviorHover() {
|
||||
selection.selectAll('.hover-suppressed')
|
||||
.classed('hover-suppressed', false);
|
||||
|
||||
if (target instanceof coreEntity) {
|
||||
if (target instanceof osmEntity) {
|
||||
var selector = '.' + target.id;
|
||||
|
||||
if (target.type === 'relation') {
|
||||
|
||||
Reference in New Issue
Block a user