mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
fix prompt width
This commit is contained in:
3
menu.js
3
menu.js
@ -323,6 +323,7 @@ function setProxy(item, win) {
|
||||
},
|
||||
icon: iconPath,
|
||||
customStylesheet: "dark",
|
||||
width: 450,
|
||||
};
|
||||
//TODO: custom bar on prompt need testing on macOS
|
||||
if (!is.macOS()) {
|
||||
@ -330,8 +331,6 @@ function setProxy(item, win) {
|
||||
frame: false,
|
||||
customScript: path.join(__dirname, "plugins", "in-app-menu", "prompt-custom-titlebar.js"),
|
||||
enableRemoteModule: true,
|
||||
height: 200,
|
||||
width: 450,
|
||||
});
|
||||
}
|
||||
prompt(options, win)
|
||||
|
||||
@ -43,7 +43,8 @@ function promptVolumeSteps(win, options) {
|
||||
label: "Choose Volume Increase/Decrease Steps",
|
||||
value: options.steps || 1,
|
||||
type: "counter",
|
||||
counterOptions: { minimum: 0, maximum: 100, multiFire: true }
|
||||
counterOptions: { minimum: 0, maximum: 100, multiFire: true },
|
||||
width: 380
|
||||
};
|
||||
|
||||
setupPromptOptions(promptOptions);
|
||||
@ -65,8 +66,7 @@ function promptGlobalShortcuts(win, options, item) {
|
||||
keybindOptions: [
|
||||
kb("Increase Volume", "volumeUp", options.globalShortcuts?.volumeUp),
|
||||
kb("Decrease Volume", "volumeDown", options.globalShortcuts?.volumeDown)
|
||||
],
|
||||
height: 230
|
||||
]
|
||||
};
|
||||
|
||||
setupPromptOptions(promptOptions);
|
||||
|
||||
Reference in New Issue
Block a user