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