Merge pull request #1071 from systemed/no-move-button

remove 'move' button from toolbar
This commit is contained in:
John Firebaugh
2013-03-17 21:06:57 -07:00
2 changed files with 2 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ iD.ui = function(context) {
.attr('class', 'limiter');
limiter.append('div')
.attr('class', 'button-wrap joined col4')
.attr('class', 'button-wrap joined col3')
.call(iD.ui.Modes(context), limiter);
limiter.append('div')

View File

@@ -1,6 +1,5 @@
iD.ui.Modes = function(context) {
var modes = [
iD.modes.Browse(context),
iD.modes.AddPoint(context),
iD.modes.AddLine(context),
iD.modes.AddArea(context)];
@@ -11,7 +10,7 @@ iD.ui.Modes = function(context) {
buttons.enter().append('button')
.attr('tabindex', -1)
.attr('class', function(mode) { return mode.id + ' add-button col3'; })
.attr('class', function(mode) { return mode.id + ' add-button col4'; })
.on('click.mode-buttons', function(mode) { context.enter(mode); })
.call(bootstrap.tooltip()
.placement('bottom')