mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 15:05:32 +00:00
Merge pull request #1071 from systemed/no-move-button
remove 'move' button from toolbar
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user