Disable keybindings for now

This commit is contained in:
Tom MacWright
2012-11-26 18:08:02 -05:00
parent 39f422ece3
commit b8652c888b
2 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -94,6 +94,7 @@ input[type=text]:focus {
width:200px;
position:absolute;
right:300px;
font-size:11px;
top:0;
padding:10px;
}
@@ -101,7 +102,6 @@ input[type=text]:focus {
#bar .user .logout {
text-decoration:underline;
margin-left:10px;
font-size:11px;
cursor:pointer;
}
@@ -127,6 +127,10 @@ input[type=text]:focus {
color:#eee;
}
#bar button.save:hover {
background:#000;
}
#bar button.mini,
#bar button.mini {
width:auto;
+3 -3
View File
@@ -134,9 +134,9 @@ var iD = function(container) {
if (d3.event.which === 90 && d3.event.metaKey && d3.event.shiftKey) {
map.redo();
}
if (d3.event.which === 80) controller.enter(iD.modes.AddPlace); // p
if (d3.event.which === 82) controller.enter(iD.modes.AddRoad); // r
if (d3.event.which === 65) controller.enter(iD.modes.AddArea); // a
// if (d3.event.which === 80) controller.enter(iD.modes.AddPlace); // p
// if (d3.event.which === 82) controller.enter(iD.modes.AddRoad); // r
// if (d3.event.which === 65) controller.enter(iD.modes.AddArea); // a
});
var hash = iD.Hash().map(map);