mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -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",
|
||||
find: "toolbar:function",
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,11 +85,14 @@ const settings = definePluginSettings({
|
|||
default: 0.5,
|
||||
markers: [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1]
|
||||
},
|
||||
showLogsButton: {
|
||||
default: true,
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Toggle to whenever show the toolbox or not",
|
||||
restartNeeded: true,
|
||||
IconLocation: {
|
||||
description: "choose where to show the SoundBoard Log icon (requires restart)",
|
||||
type: OptionType.SELECT,
|
||||
options: [
|
||||
{ label: "Toolbar", value: "toolbar", default: true },
|
||||
{ label: "Chat input", value: "chat" }
|
||||
],
|
||||
restartNeeded: true
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue