mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 14:45:12 +02:00
Tagless entities trigger initial
This commit is contained in:
@@ -4,6 +4,10 @@ iD.modes.Select = function(context, selection, initial) {
|
||||
button: 'browse'
|
||||
};
|
||||
|
||||
if (!initial) {
|
||||
initial = singular() && !_.without(Object.keys(singular().tags), 'area').length;
|
||||
}
|
||||
|
||||
var inspector = iD.ui.Inspector(context).initial(!!initial),
|
||||
keybinding = d3.keybinding('select'),
|
||||
timeout = null,
|
||||
|
||||
Reference in New Issue
Block a user