mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
WIP: readded missing vars
This commit is contained in:
@@ -117,6 +117,8 @@ export function modeDragNote(context) {
|
||||
|
||||
|
||||
function start(entity) {
|
||||
_isCancelled = d3_event.sourceEvent.shiftKey;
|
||||
|
||||
_activeEntity = entity;
|
||||
_startLoc = entity.loc;
|
||||
|
||||
@@ -191,6 +193,9 @@ export function modeDragNote(context) {
|
||||
}
|
||||
}
|
||||
|
||||
// Below here: validations
|
||||
var isInvalid = false;
|
||||
|
||||
|
||||
var nopeDisabled = context.surface().classed('nope-disabled');
|
||||
if (nopeDisabled) {
|
||||
@@ -309,6 +314,9 @@ export function modeDragNote(context) {
|
||||
context.install(hover);
|
||||
context.install(edit);
|
||||
|
||||
// context.selectedIDs(null); TODO: possibly add something like this
|
||||
// context.selectedNoteID(_activeEntity);
|
||||
|
||||
// d3_select(window)
|
||||
// .on('keydown.drawWay', keydown)
|
||||
// .on('keyup.drawWay', keyup);
|
||||
|
||||
Reference in New Issue
Block a user