mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-18 00:34:19 +08:00
🐛 修复插件窗口打开尺寸偏小的bug
This commit is contained in:
@@ -80,7 +80,7 @@ export default () => {
|
||||
view.webContents.once('dom-ready', () => {
|
||||
const height = pluginSetting && pluginSetting.height;
|
||||
window.setSize(800, height || 660);
|
||||
view.setBounds({ x: 0, y: 60, width: 800, height: height || 660 });
|
||||
view.setBounds({ x: 0, y: 60, width: 800, height: height || 600 });
|
||||
view.setAutoResize({ width: true });
|
||||
executeHooks('PluginEnter', plugin.ext);
|
||||
executeHooks('PluginReady', plugin.ext);
|
||||
|
||||
Reference in New Issue
Block a user