mirror of
https://github.com/rubickCenter/rubick
synced 2025-07-21 23:59:32 +08:00
🐛 修复插件窗口打开尺寸偏小的bug
This commit is contained in:
parent
9f81854139
commit
668a470276
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "rubick",
|
"name": "rubick",
|
||||||
"version": "2.2.3",
|
"version": "2.2.4",
|
||||||
"author": "muwoo <2424880409@qq.com>",
|
"author": "muwoo <2424880409@qq.com>",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -80,7 +80,7 @@ export default () => {
|
|||||||
view.webContents.once('dom-ready', () => {
|
view.webContents.once('dom-ready', () => {
|
||||||
const height = pluginSetting && pluginSetting.height;
|
const height = pluginSetting && pluginSetting.height;
|
||||||
window.setSize(800, height || 660);
|
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 });
|
view.setAutoResize({ width: true });
|
||||||
executeHooks('PluginEnter', plugin.ext);
|
executeHooks('PluginEnter', plugin.ext);
|
||||||
executeHooks('PluginReady', plugin.ext);
|
executeHooks('PluginReady', plugin.ext);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user