mirror of
https://github.com/rubickCenter/rubick
synced 2025-07-19 22:31:26 +08:00
🐛 修复插件窗口打开尺寸偏小的bug
This commit is contained in:
parent
9f81854139
commit
668a470276
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rubick",
|
||||
"version": "2.2.3",
|
||||
"version": "2.2.4",
|
||||
"author": "muwoo <2424880409@qq.com>",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user