1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00

Added fixed indices setting.

This commit is contained in:
kkapsner 2018-06-21 00:19:49 +02:00
parent a41eba1dff
commit c13a6f88b3
4 changed files with 76 additions and 0 deletions

View File

@ -653,6 +653,22 @@
"message": "maximal",
"description": ""
},
"audiousefixedindices_title": {
"message": "Feste Indizes verwenden",
"description": ""
},
"audiousefixedindices_description": {
"message": "Ob einige der Indizes immer vorgetäuscht werden sollen.",
"description": ""
},
"audiofixedindices_title": {
"message": "Feste Indizes",
"description": ""
},
"audiofixedindices_description": {
"message": "Die Indizes, die immer vorgetäuscht werden sollen. Kommasepariert eingeben.",
"description": ""
},
"showReleaseNotes_title": {
"message": "Versionsinformationen",

View File

@ -653,6 +653,22 @@
"message": "maximal",
"description": ""
},
"audiousefixedindices_title": {
"message": "Use fixed indices",
"description": ""
},
"audiousefixedindices_description": {
"message": "If some of the used indices should be always faked.",
"description": ""
},
"audiofixedindices_title": {
"message": "Fixed indices",
"description": ""
},
"audiofixedindices_description": {
"message": "The indices that are always faked. Enter separated by comma.",
"description": ""
},
"showReleaseNotes_title": {
"message": "Release notes",

View File

@ -177,6 +177,16 @@
defaultValue: "low",
options: ["minimal", "low", "medium", "high", "maximal"]
},
{
name: "audioUseFixedIndices",
defaultValue: true
},
{
name: "audioFixedIndices",
defaultValue: function(){
return Math.floor(Math.random() * 30).toString(10);
}
},
{
name: "displayAdvancedSettings",
defaultValue: false

View File

@ -328,6 +328,40 @@
}
]
},
{
"name": "audioUseFixedIndices",
"displayDependencies": [
{
"blockMode": ["fakeReadout", "fakeInput"],
"protectAudio": [true],
"displayAdvancedSettings": [true]
},
{
"blockMode": ["askReadout", "ask", "allow"],
"askDenyMode": ["fake"],
"protectAudio": [true],
"displayAdvancedSettings": [true]
}
]
},
{
"name": "audioFixedIndices",
"displayDependencies": [
{
"audioUseFixedIndices": [true],
"blockMode": ["fakeReadout", "fakeInput"],
"protectAudio": [true],
"displayAdvancedSettings": [true]
},
{
"audioUseFixedIndices": [true],
"blockMode": ["askReadout", "ask", "allow"],
"askDenyMode": ["fake"],
"protectAudio": [true],
"displayAdvancedSettings": [true]
}
]
},
"misc",
{
"name": "showReleaseNotes"