Make the DOM/focus order of the raw tag editor view buttons match their display order (re: #8004)

This commit is contained in:
Quincy Morgan
2020-09-18 14:03:03 -04:00
parent 28dd2c4507
commit c084c569a7
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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'