Change popupActionBarLocation to top (#1222)
This commit is contained in:
parent
7f07b905ab
commit
25080ac82e
@ -283,7 +283,7 @@
|
|||||||
"popupActionBarLocation": {
|
"popupActionBarLocation": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["left", "right", "top", "bottom"],
|
"enum": ["left", "right", "top", "bottom"],
|
||||||
"default": "right"
|
"default": "top"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -686,6 +686,7 @@ class OptionsUtil {
|
|||||||
// Moved anki.sentenceExt to sentenceParsing.scanExtent.
|
// Moved anki.sentenceExt to sentenceParsing.scanExtent.
|
||||||
// Added sentenceParsing.enableTerminationCharacters.
|
// Added sentenceParsing.enableTerminationCharacters.
|
||||||
// Added sentenceParsing.terminationCharacters.
|
// Added sentenceParsing.terminationCharacters.
|
||||||
|
// Changed general.popupActionBarLocation.
|
||||||
for (const profile of options.profiles) {
|
for (const profile of options.profiles) {
|
||||||
profile.options.translation.textReplacements = {
|
profile.options.translation.textReplacements = {
|
||||||
searchOriginal: true,
|
searchOriginal: true,
|
||||||
@ -710,6 +711,7 @@ class OptionsUtil {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
delete profile.options.anki.sentenceExt;
|
delete profile.options.anki.sentenceExt;
|
||||||
|
profile.options.general.popupActionBarLocation = 'top';
|
||||||
}
|
}
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
@ -296,7 +296,7 @@ function createProfileOptionsUpdatedTestData1() {
|
|||||||
maximumClipboardSearchLength: 1000,
|
maximumClipboardSearchLength: 1000,
|
||||||
popupCurrentIndicatorMode: 'triangle',
|
popupCurrentIndicatorMode: 'triangle',
|
||||||
popupActionBarVisibility: 'auto',
|
popupActionBarVisibility: 'auto',
|
||||||
popupActionBarLocation: 'right'
|
popupActionBarLocation: 'top'
|
||||||
},
|
},
|
||||||
audio: {
|
audio: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user