WIP: readded missing vars

This commit is contained in:
Thomas Hervey
2018-07-20 12:56:36 -04:00
parent 18def6e576
commit 5d779f2fc5
+8
View File
@@ -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);