mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-07 13:43:58 -05:00
Merge branch 'dev'
This commit is contained in:
commit
1de6165ac6
2 changed files with 9 additions and 6 deletions
|
@ -28,7 +28,7 @@ export default definePlugin({
|
||||||
predicate: () => settings.store.IconLocation === "toolbar",
|
predicate: () => settings.store.IconLocation === "toolbar",
|
||||||
find: "toolbar:function",
|
find: "toolbar:function",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,100}mobileToolbar)/,
|
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,200}mobileToolbar)/,
|
||||||
replace: "$1$self.addSBIconToToolBar(arguments[0]);$2"
|
replace: "$1$self.addSBIconToToolBar(arguments[0]);$2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,11 +85,14 @@ const settings = definePluginSettings({
|
||||||
default: 0.5,
|
default: 0.5,
|
||||||
markers: [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1]
|
markers: [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1]
|
||||||
},
|
},
|
||||||
showLogsButton: {
|
IconLocation: {
|
||||||
default: true,
|
description: "choose where to show the SoundBoard Log icon (requires restart)",
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.SELECT,
|
||||||
description: "Toggle to whenever show the toolbox or not",
|
options: [
|
||||||
restartNeeded: true,
|
{ label: "Toolbar", value: "toolbar", default: true },
|
||||||
|
{ label: "Chat input", value: "chat" }
|
||||||
|
],
|
||||||
|
restartNeeded: true
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue