mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Make the DOM/focus order of the raw tag editor view buttons match their display order (re: #8004)
This commit is contained in:
@@ -2383,7 +2383,7 @@ div.combobox {
|
||||
.raw-tag-options {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: flex-end;
|
||||
margin-top: -28px;
|
||||
}
|
||||
button.raw-tag-option {
|
||||
|
||||
@@ -25,8 +25,8 @@ export function uiSectionRawTagEditor(id, context) {
|
||||
var taginfo = services.taginfo;
|
||||
var dispatch = d3_dispatch('change');
|
||||
var availableViews = [
|
||||
{ id: 'text', icon: '#fas-i-cursor' },
|
||||
{ id: 'list', icon: '#fas-th-list' }
|
||||
{ id: 'list', icon: '#fas-th-list' },
|
||||
{ id: 'text', icon: '#fas-i-cursor' }
|
||||
];
|
||||
|
||||
var _tagView = (prefs('raw-tag-editor-view') || 'list'); // 'list, 'text'
|
||||
|
||||
Reference in New Issue
Block a user